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

dynamic insertion

  • Thread starter Thread starter Angelo2449
  • Start date Start date

Angelo2449

Guest
Hello everyone,
I would like to insert a block, previously created, dynamically or, once defined the insertion point, the block should rotate around it until the click of the direction point, with the drag effect.
how should the "_insert" command be structured to achieve these effects and result?
Thank you very much.
 
I answer myself, having found the solution.
Code:
 (defunc c:occhio (/ pins)

(setq pins nil)

(sing)
(= pins nil)
(princ "\nclicks the insertion point of the eye: ")
(setq pins (getpoint))
);

(command "_insert" "c:\\\autocadsupport\\\\blocchi\\camera.dwg" pins 1 1 breaks)

(princ "\nclick the point of direction : ")

);
grazie.
 

Forum statistics

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

Members online

No members online now.
Back
Top