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.081.000 registered users (EN+CZ). New 1D nesting and 3D nesting tools, updated Color converter. New AutoCAD 2025 commands and variables. Learn about twiGIS.
Place your Ad on CADforum.cz

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    14674×  

See also:
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.
Tip 6990:The action recorder macro changes my drawing view.


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:
Publish interactive 3D PDF models from AutoCAD, Inventor or Revit with Share3D 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