• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

offset di polilinee

  • Thread starter Thread starter Giuseppe Beatrice
  • Start date Start date

Giuseppe Beatrice

Guest
I have a polyline of type "lwpolyline" that I would like to duplicate via lisp with the offset command and a certain shift value.
I tried to use the command function, with a type instruction
(command "_offset" noment 0.5 "pause"") in which noment is the name of the entity on which to perform the offset, 0.5 represents the value of throttle and "pause" should be the purpose of introducing the side to which to stagger the entity but not working.
Can anyone help me?
thanks after... for now I greet you.
 
I thank you for the prompt answer, which corrected the mistakes I had made, but unfortunately it does not work yet.
I tried to apply it to both the entity and its definition list, but unfortunately the answer is always the same... " error: function canceled".
I forgot to specify that the autocad version is 2007 in Italian, although I don't think it can depend in any way on this.
What's wrong? ?
 
false alarm... I retryed the command with the name of the entity and this time it worked. I don't know why the first attempts made me wrong.
with the occasion I wanted to ask another thing: is it possible to use the "entmake" function to create a lwpolyline polyline?
I ask because from the study of the definition list you see a double anniversary <entity name="">, one at the beginning with the code dxf -1 and the other with the code dxf 330; therefore I do not understand which list to switch to autolisp to apply the function "entmake".
Thanks again for the help, and I hope that these insights will also help others who read.</entity>
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top