- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hello,
is there a way to set ROTATE by reference as default, not by base point?
Thanks
¡Resuelto! Ir a solución.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
You may be able to redefine the command to call some addin program.
Alternatively -
For a rotate with reference call, I use a Right-Click menu entry with the command macro:
^C^C_Select \_rotate previous ;\r @;
************************************************************
May your cursor always snap to the location intended.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@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
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
c:RTR
???
Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.![]()
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
As a supplement to my Rotate by Reference command macro suggestion, here is a screencast of that, plus another By Reference sub option. There are times when that sub option functionality comes in handy. That sub-option macro:
^C^C_Select;\_rotate previous;;\r;@;\p;\\
************************************************************
May your cursor always snap to the location intended.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@pl.fischer68 wrote:
how do you define this command ?
Copy the code and paste it into a plain-text editor such as Notepad. Save it to a file [call it whatever you want] with a .lsp filetype ending. In an AutoCAD drawing, use APPLOAD, navigate to where you put that file, and Load it. The command name is ROTATER [not case-sensitive].
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
thank you so much dude, this rotate command was driving me crazy. Now the ROTATER does work, but it doesn't appear in the aliasedit panel (i'd like to create a shortcut for the new rotater command)
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
@pl.fischer68 wrote:
.... (i'd like to create a shortcut for the new rotater command)
I think the command alias editor may work only with actual AutoCAD command names. But you can make the name of the command anything you want -- the part immediately following (defun C: is always the command name, so just change ROTATER to something else [as long as it doesn't conflict with some already-existing command name or alias].
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
amazing ! thank you for taking the time to explain me this, hope it will help others !