Running a macro

Running a macro

cneelyUFTR2
Advocate Advocate
381 Views
2 Replies
Message 1 of 3

Running a macro

cneelyUFTR2
Advocate
Advocate

I have a macro that I created a command for in the CUI. I have it loaded to my Quick Access Bar. It runs fine from that location, but I’d like to be able to run it from the Command Line. I get an unknown command when I type the command name.

Also, when I run it from the Quick Access Bar and then hit enter or the space bar it invokes the last command in the macro, obviously. Is there  a way to get it to repeat the macro?

Accepted solutions (2)
382 Views
2 Replies
Replies (2)
Message 2 of 3

pendean
Community Legend
Community Legend
Accepted solution
Macros behind buttons in AutoCAD cannot be executed at the commandline. Sorry.

Are you by chance limited to using LT versions of AutoCAD? Or would you like to get into LISP programming so your "macros" become available both behind buttons and as typed commands?

If the latter, start sharing one or two of your most favorite macros and folks around here can help you get started with LISP.
0 Likes
Message 3 of 3

cneelyUFTR2
Advocate
Advocate
Accepted solution

Great suggestion! Such a simple macro the thought of making it a lisp never occurred to me. Took about 5 minutes and works fine. 

0 Likes