Anuncios

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

Anonymous
488 Vistas, 7 Respuestas

MACRO Tool buttons

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

 

 

Etiquetas (1)
pendean
en respuesta a: Anonymous

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
en respuesta a: pendean

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. 

pendean
en respuesta a: Anonymous

Oh, I see it now, you don't have an <enter> semi-colon between _UCS and _Z
Anonymous
en respuesta a: pendean

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

Kent1Cooper
en respuesta a: Anonymous

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
pendean
en respuesta a: Anonymous

^C^C_ucs;_z;;_plan;;
Anonymous
en respuesta a: pendean

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

 

Thanks,