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

CAD tip CAD tip # 6134:

Question CAD 
 %  platform  category 
Q - question

Be careful when naming your AutoCAD action macros.

A - answer Action macros you record with the ACTRECORD command can be assigned any name you choose except for the names of AutoCAD internal commands. Macros are then stored to the individual files myMACRONAME.ACTM in the default folder c:\Documents and Settings\username\Application Data\Autodesk\AutoCAD 2009\R17.2\enu\Support\Actions.

AutoCAD scans this folder after you launch a session and loads any ACTM macros it finds here. You cannot name your macro after an internal command name and AutoCAD even refuses to load an ACTM file which was renamed manually.

But be careful - this protection applies only to the names of AutoCAD commands, not to any external (user-defined) commands you may have defined in your LISP applications (defun c:CMDNAME), other add-on programming tool or even a PGP command alias. You can effectively map out (disable, hide, overlay) your existing commands when you inadverently assign a "wrong" name to your action macro. Your commands, menus, scripts and LISP utilities may suddenly and magically cease to work!

Command/macros can be also overlaid in the opposite way - if you name an action macro the same as an AutoCAD localized command name (it allows you to do this), such macro will run the original command, not the recorded actions.

ACAD2009ADT2009ACADM2009Civil2009
100% *  CAD 
14.5.2008    10859x  
Comments   Tell a friend

See also:
Tip 10768:What is the red dot icon next to AutoCAD cursor?
Tip 10187:Which AutoCAD commands are not supported in Core Console?
Tip 10137:Changed behavior of the Edit text command in AutoCAD 2015.
Tip 7503:Autodesk 3ds Max keyboard shortcuts.
Tip 6990:The action recorder macro changes my drawing view.


Back   All CAD Tips All CAD tips&tricks

Slow network file operations in Windows Vista? « | » Setting snaps (jumps) for inserted or drawn elements in Revit.

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:
DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.


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