CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
New CADforum look launched.
Over 1.089.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new Engineering calculator. New AutoCAD 2026 commands and variables.

CAD tip CAD tip # 6134:

Question

CAD 
 %  platform  category 
A
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    14765×  

See also:
Tip 14359:Automatic macro execution when opening a CAD file (AutoCAD, Inventor, Max, PowerMill)
Tip 12120:Double-click to edit raster images in DWG drawings.
Tip 10768:What is the red dot icon next to AutoCAD cursor?
Tip 10137:Changed behavior of the Edit text command in AutoCAD 2015.
Tip 7503:Autodesk 3ds Max keyboard shortcuts.


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
  



Featuring:
Export 3D VRML scenes from AutoCAD and Inventor
VRMLout More info


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