Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Kent1Cooper
en respuesta a: 76jsa


@76jsa wrote:

.… is there a way to set ROTATE by reference as default, not by base point? ….


 

You're not going to escape the need for a base point, in any case, since Rotating by Reference is still necessarily around some base point.  But you could define a dedicated command that automatically feeds in the Reference option after that.  Something like this [minimally tested]:

(defun C:ROTATER (/ ss) ; = Rotate with built-in Reference option

  (if (setq ss (ssget))

    (command "_.rotate" ss "" pause "_reference")

  )

)

 

You could  even UNDEFINE the native ROTATE command, and make that the definition of that command name by taking the R off the end of the name.  You would still have standard ROTATE available if needed, by typing it in with the period prefix:

 

.ROTATE

Kent Cooper, AIA