2011

Table Of Contents
Based on the current action or request for user interaction in the action macro,
an icon near the cursor is displayed to indicate when the action macro needs
input in order to continue. A dialog box may be displayed where you enter a
value or use the recorded value.
As an action macro is played back, the series of commands are performed one
after the other until playback is complete or an error is encountered. Some of
the reasons for the playback to stop or fail are as follows:
Invalid command. The command that is defined in the action macro is
unknown to AutoCAD. The action macro might have been recorded in a
different product or contains custom commands or macros that are not
loaded.
Empty selection. The current action expected a selection set of objects, but
no objects were selected.
Macro cancelled. The Cancel button in one of the dialogs boxes was clicked.
Location of Action Macros
When you record an action macro, it is saved to the path defined by the system
variable ACTRECPATH. For playback, paths are defined by the system variable
ACTPATH.
Both sets of paths are used when loading and playing back an action macro.
In the Action Recorder Settings node on the Files tab of the Options dialog
box, you can to set the paths used for both recording and reading action macro
files.
Record and Modify Action Macros
Recording and modifying action macros is done with the Action Recorder
panel on the ribbon. To learn how to record and modify action macros, see
Record and Modify Action Macros in the Customization Guide.
See also:
Record and Modify Action Macros
To play back an action macro from the Action Recorder panel
1 On the ribbon, click Manage tab Action Recorder panel. Click the
down arrow next to the Action Macro list and select the action macro to
play back.
158 | Chapter 5 Customize the Drawing Environment