.NET

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

Select vrs. \

60 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?
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.