.NET

Reply
*Grahame Ede
Message 1 of 1 (58 Views)

Select vrs. \

58 Views, 0 Replies
09-04-2005 09:40 PM
I am trying to write a simple macro to make the Rotate Relative command
easier by specifying the relative option with an R and the first point of
the reference angle as the base point with an @

I have added the characters after _rotate

$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,4),grip),_rotate,^C^C_rotate;\;\r;@;\\)

This works perfectly, but I can only select one entity. To enable me to
choose any number of entities to rotate I substituted 'select' for the first
\

I.E.

$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,4),grip),_rotate,^C^C_rotate;select;\r;@;\\)

Now neither the 'R' or the '@' function.

Can someone help with a way to select any number of entities in a macro?
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.