Custom Macro - add 'Esc' to the end of string.

Custom Macro - add 'Esc' to the end of string.

egidijus_drafting
Advocate Advocate
230 Views
2 Replies
Message 1 of 3

Custom Macro - add 'Esc' to the end of string.

egidijus_drafting
Advocate
Advocate
I have created custom macro, to display all view boxes, is it possible to include *Cancel* command at the end, so I don't have to clear selection manually (by pressing Esc), after script is executed?
 
^C^C_AstM4SelectObjectByName;ASTXMODELVIEW;AstM4SwitchReprMode;on
 
If this information was helpful, please use the Accept as Solution function, this makes it easier for other users.
0 Likes
Accepted solutions (1)
231 Views
2 Replies
Replies (2)
Message 2 of 3

Sebastian_Eiche
Mentor
Mentor
Accepted solution

you could add "ai_deselect" min the end


Sebastian Eiche
Application Engineer @Mensch und Maschine acadGraph

EESignature

If this information was helpful, please use the Accept as Solution function, this make it easier for other users

0 Likes
Message 3 of 3

egidijus_drafting
Advocate
Advocate

Brilliant, thanks @Sebastian_Eiche !

 

Screenshot 2025-02-24 110641.png

If this information was helpful, please use the Accept as Solution function, this makes it easier for other users.
0 Likes