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

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 Recorder 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    58925×   FAQ  
Prices - CAD eShop:
applies to: AutoCAD 2010 · AutoCAD 2009 · AutoCAD 2000 ·

See also:
Tip 12520:How to set Inventor Display style and Lighting style from an iLogic macro?
Tip 12392:Export unfolds of sheetmetal parts to DXF - parameters for iLogic and VBA
Tip 12136:Security settings for Inventor data files and add-on applications.
Tip 11580:Excel: convert Unicode texts to \U+ codes for AutoCAD
Tip 10647:How to store macros inside DWG drawings?


Back   All CAD Tips All CAD tips&tricks



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:
Link your AutoCAD texts with Excel tables/sheets. Export. Change. Import.
Try DwgText 2020 More info


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