Command Macros Not Working.

Command Macros Not Working.

cloweRE8TC
Advocate Advocate
198 Views
2 Replies
Message 1 of 3

Command Macros Not Working.

cloweRE8TC
Advocate
Advocate

I've been using my own commands for years to change layer, change dim style & start the dimlinear command with the press of a button, for some reason they have stopped working properly in that the layer does not change anymore.

 

This is a typical macro behind one of buttons:

^C^C_-layer;m;Dimensions_Model_Space;;-dimstyle;;CMS-MSpace10;^M;graphscr _dimlinear

 

Not sure why this has stopped working, -layer should start the layer command, m should be make or make current, and Dimensions_Model_Space is the required layer.

 

Instead all my dims end up on the layer Dimensions.

0 Likes
Accepted solutions (2)
199 Views
2 Replies
Replies (2)
Message 2 of 3

pendean
Community Legend
Community Legend
Accepted solution
Are you perhaps not aware of the DIMAYER variable setting? I don't see you addressing it in your macro
https://help.autodesk.com/view/ACD/2025/ENU/?guid=GUID-88E56602-EADC-4C68-93B4-93E7623BEB6B#:~:text=....

0 Likes
Message 3 of 3

cloweRE8TC
Advocate
Advocate
Accepted solution

Thanks I wasn't aware of that variable, & having edited into one of my macros has fixed the problem.

0 Likes