Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

MACRO Tool buttons

Anonymous

MACRO Tool buttons

Anonymous
No aplicable

I created a Macro to rotate the UCS @ 90* intervals clockwise within model space but it does not seem to work in AutoCAD Architecture 2022. Here's the Macro: ^C^C^R_ucs_Z;;^C^C_plan;;

However, weird things happen I click on it. 

 

Any ideas how to make it work correctly. 

 

Thanks 

Eric

 

UCS ROTATE MACRO.jpg

 

 

0 Me gusta
Responder
490 Vistas
7 Respuestas
Respuestas (7)

pendean
Community Legend
Community Legend

What if you actually put what you want, 90, here instead, does that fix it?

 

pendean_1-1620761439541.png

 

Or how about a LISP?

Anonymous
No aplicable

Sorry, but it does not. This type of Macro you have to tell it what axis, i.e. x, y, or z you want to rotate from. Since "Z" in this case comes out at you from the screen looking at plan view I need plan view in model space to rotate 90* clockwise. 

 

I'm better at writing Macros than I am lisp plus Macros are easier. However this bugger is giving me a fit. 

 

Thanks though. 

0 Me gusta

pendean
Community Legend
Community Legend
Oh, I see it now, you don't have an <enter> semi-colon between _UCS and _Z

Anonymous
No aplicable

Awesome. I found another issue so we tagged team this one. Thanks,

 

This is how this should read and work. ^C^C^R_ucs;_z;; ^C^C_plan;;        only true space should be between _z;; and ^C^C

0 Me gusta

Kent1Cooper
Consultant
Consultant

You shouldn't need that second double-cancel ^C^C.  If what you have before it completes the UCS command, the Command prompt will be waiting, and you can go into the PLAN command without "re-cancelling" anything.

Kent Cooper, AIA
0 Me gusta

pendean
Community Legend
Community Legend
^C^C_ucs;_z;;_plan;;
0 Me gusta

Anonymous
No aplicable

Oh yeah.........duh  me. That worked. 

 

Thanks,  

0 Me gusta