« AutoCAD 2009... Free Webcast! | Main | Autodesk Developer Camps Coming in June »

May 13, 2008

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!

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341c99d753ef00e552208b8a8833

Listed below are links to weblogs that reference Good Question: Action Macros and VBA:

RSS Feed

Search