CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 3337 

CAD tip CAD tip # 10647:

Question CAD 
 %  platform  category 
Q - question

How to store macros inside DWG drawings?

A - answer In AutoCAD (extended by installing the VBA Enabler), you can insert and execute VBA macros inside DWG files.

With the freeware application CADstudio AutoExec you can also use DWG drawings to store AutoLISP (resp. VisualLISP) macros, including .lsp, .fas, .vlx files. With the enabler module AutoExec.vlx loaded you can then automatically load and execute macros stored in opened DWG files also on other computers.

You can limit macro loaded to those macros, which were stored (signed) by the same user.

More on AutoExec
100% *  CAD 
14.12.2015    4258×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
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 12120:Double-click to edit raster images in DWG drawings.
Tip 10663:Automatic warning on DWG open.
Tip 10195:How to mirror objects with automatic deletion of the originals?

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   

Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 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.