Hello I am trying to create a macro that will rotate objects in a viewport.
The routine I use is
Dview
Tw (twist)
this is what I tried but it doesn't work.
^C^C_.DVIEW;\_.TW ;
any help would be appreciated.
Solved! Go to Solution.
Solved by hmsilva. Go to Solution.
@allywhite666 wrote:
this is what I tried but it doesn't work.
^C^C_.DVIEW;\_.TW ;
Try
^C^C_.DVIEW;;_TW;\;
and for select objects
^C^C_.DVIEW;\;_TW;\;
Henrique
To clarify:
The period/decimal [ . ] is a prefix character that is used before command names, to force the native command to be used in case there's been any redefinition, but not before option names or abbreviations within command sequences.
The space after the TW registers that option, and the semicolon would just accept the current default value and return you to the DVIEW prompt. The backslash that hmsilva added is for User input, to pick the twist angle, and then the semicolon ends the command.
Kent Hi,
to be more clarify and as i remember from DOS AutoCAD versions (hope this is still valid)
Any space in menu macro is like hitting the SPACEBAR on the K.B
Any semicolon (;) is like hitting the ENTER key on K.B
am i right?
Moshe