[Search tip detail and code files using keywords, tip number, author name, etc ]
 
Embed Multiple Action Macros into One Larger Action Macro
Tip# 4079 By Brian Lottis On 04-Mar-2013
0
Rated By 0 users
Categories : Misc. User Tools
Software type : AutoCAD 2013
Rename File To : No Files to download.
Action macros save time and are easy to create.

Tipster Brian James Lottis shares a tip to combine multiple AutoCAD action macros into one action macro to rule them all!

"I came up with a great idea for the Action Recorder: Work in modules. I discovered that I can actually embed multiple action macros into a single one. For example, I had one macro that would freeze specific layers in a drawing. I had a second one that would run the Command line version of Purge to clean up the drawing. I had to run both in several drawings. So, instead of running each macro individually, I recorded a new action that runs each of these. I see two uses for this: As in my example, I can combine several pre-existing macros into a single one. Also, it's a lot easier to troubleshoot a large macro if I work with smaller ones and combine them at the end. I take the same approach with AutoLISP routines."

Notes from Cadalyst Tip Reviewer Brian Benton: Action macros are easy to create: Just start recording and do the work. Save the macro and use it to do the same work again. It's easy to create and manage, especially if you don’t know how to create a command macro or write in LISP. If you have some combination of steps you take on a frequent basis (such as purging a file or creating specific layers), then you may want to consider making an action macro.

 

Average Rating:
0


User comments