Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dview Twist Macro

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
allywhite666
629 Views, 3 Replies

Dview Twist Macro

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.

 

3 REPLIES 3
Message 2 of 4
hmsilva
in reply to: allywhite666


@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 

EESignature

Message 3 of 4
Kent1Cooper
in reply to: allywhite666

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 Cooper, AIA
Message 4 of 4
Moshe-A
in reply to: Kent1Cooper

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

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost