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

creation

  • Thread starter Thread starter Angelo2449
  • Start date Start date

Angelo2449

Guest
Hello everyone,
after the execution of this code:
Code:
 (command "_scale" lineapn "" primotargetlat (/ dist5 lunglineapn) ")
(command "_scale" lined "" primotargetlat (/ dist3 lunglineata) ")
(command "_copy" lineapn "" primotargetlat primogps "")
(command "_copy" lined "" primotargetlat primogps "")
I would like to create linear and linear as new elements, in my case to rotate.
Thank you very much.
 
(command "_copy" lineapn "0,0" "0,0"") creates the copy of the line
(setq newlineapn (entlast)) stores the name of the last created entity
same procedure with line
Be careful that if at the 0.0 coordinate there is some entity it is preferable to turn off the osnap before copy.
 
Thank you.
but then I can write:
Code:
(command "_scale" lineapn "" primotargetlat (/ dist5 lunglineapn) ")
(command "_scale" lined "" primotargetlat (/ dist3 lunglineata) ")
(command "_copy" lineapn "" primotargetlat primogps "")
(setq newlineapn (entlast)
(command "_copy" lined "" primotargetlat primogps "")
(renewed setq (entlast))
to get newlineapn and newlined respectively in primogps, I seem to have already done it but it was copied, I think, only the last.
Thank you.
 

Forum statistics

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

Members online

No members online now.
ciao
Back
Top