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

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    3233×  
Comments   Tell a friend
applies to: AutoCAD ·

See also:
Tip 10663:Automatic warning on DWG open.
Tip 10195:How to mirror objects with automatic deletion of the originals?
Tip 9952:iLogic rule - check whether iProperties are overridden.
Tip 9843:How to add Classic workspace (toolbars) to AutoCAD 2015?
Tip 9553:Complete thorough PURGE on a single click.

Back   All CAD Tips All CAD tips&tricks

How to open a R/O DWG without the read-only warning? « | » Navisworks 2016 requires login to an Autodesk account after launch.

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   

Automatic nesting of 2D parts on rectangular sheets in AutoCAD
AutoNEST 2008 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.