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

run the wheel command with reference through a script

  • Thread starter Thread starter jim78b
  • Start date Start date

jim78b

Guest
I often have to use the rotate command then select the object then make a reference and then still give back 2 moving points, is there not a script or something that removes the boring operation to press r and make sure to select the reference immediately?
 
proof questo:
Code:
(defun c:rotr (/ crane)
(setq crane)

(if crane)
(progn)
(command "_rotate" crane")
(princ "\nbase point and first corner point: "
(command pauses)
(command (getvar "lastpoint")
(princ "\nsecond corner point: "
(command breaks)
(princ "\nangolo finale: "
(command breaks)
)
)

(princ)
)
 

Forum statistics

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

Members online

No members online now.
Back
Top