Good Question: Action Macros and VBA
Today’s good questions come from Paul. He is interested in combining the power of VBA with the ease of Action Macros in AutoCAD 2009.
Q: Do you know of any way to convert an Action Macro into VBA format?
A: No. The ACTM is a binary/undocumented format.
Q: Alternatively, is there a line I could insert in my VBA project to call the ACTION?
A: Each Action Recorder Macro is a standalone AutoCAD command. So you can pass the name of the macro to the "SendCommand" automation API in your VBA routine to call it.
Thanks to Paul for the good questions and to Ravi (and the AutoCAD development team) for the answers!

Subscribe