CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 3883 

CAD tip CAD tip # 1933:

Question CAD 
 %  platform  category 
Q - question

How to automatically record a VBA macro in AutoCAD (like in MS Office)?

A - answer

At:

www.cadbow.com
you can were able to download ARX application "VBA Macro recorder" (for AutoCAD 2000/2000i/2002), which records user's command sequence (AutoCAD commands) as a VBA macro - like in MS Office. You can then modify this macro or - without any programming experience - just use it immediately.

the above tip is no longer valid - CADbow is out of business now

You can also try the free VBA Macro Recoder by Joe Sutphin (see www.cadstudio.cz/download). Load the macro recorder (DVB) with VBALOAD and then run the "Record" macro with VBARUN.

In AutoCAD 2009, 2010, 2011 (and higher) you can use the automatic Action Recorder functionality. Alas, it does not use the VBA format for storing the recorder macros.

ACAD2010ACAD2009ACAD2000
100% *  CAD 
3.2.2002    52095x   FAQ  
Comments   Tell a friend
applies to: AutoCAD 2010 · AutoCAD 2009 · AutoCAD 2000 ·

See also:
Tip 10647:How to store macros inside DWG drawings?
Tip 10266:How to change the iProperty "Standard" for parts from Content Center?
Tip 9935:How to distinguish between an assembly and weldment in VBA or iLogic?
Tip 9788:How to import named workpoints from Excel to Inventor?
Tip 9556:VBA not working - failed to initialize properly.


Back   All CAD Tips All CAD tips&tricks

Can I use HP DesignJet 500 under Solaris? « | » How to list Postscript fonts defined in HP DesignJet 5000PS?

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Generate hatch patterns automatically from your DWG drawings with
HGEN 2006 More info


Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist