CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 17422
Plex.Earth connects AutoCAD and Google Earth

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

See also:
Tip 12828:How to quickly delete 3rd party links to external objects in Inventor?
Tip 12815:How to fill iProperties into Inventor files from Excel?
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.


Back   All CAD Tips



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:
Export 3D VRML scenes from AutoCAD and Inventor
VRMLout More info


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