2012

Table Of Contents
VBAPREFVBANEW
VBARUN-VBARUN
VBAUNLOADVBASTMT
ACTBASEPOINTXOPEN
ACTMANAGER
Actions recorded with the Action Recorder are limited to interactions with
the Properties palette, Quick Properties palette, the Layer Modeless dialog
box, and any user interface element that starts a command.
Some of the user interface elements that start commands are: most tools
on tool palettes, some actions in DesignCenter, and some tools on the
status bars.
When a view change occurs, that is not explicitly made by a command or
coordinate change, (such as with the ViewCube, mouse wheel, or 3D Orbit),
a View Change (Observation Change) node is added to the Action tree.
You can delete a View Change node when recording is stopped. Upon
deletion, during playback, you might be prompted to provide input or
continue the playback because the view change did not occur. This might
affect the creation of a selection set or the use of a command.
NOTE Before deleting a View Change node, consider creating a copy of the
original macro file since you cannot undo the deletion of the node.
Changes to a dialog box are not recorded, but the dialog box is displayed
during playback. Instead of using a dialog box during recording, use the
command line version of the command to ensure that the action macro
behaves consistently each time it is played back.
Commands defined with AutoLISP and ObjectARX can be recorded with
an action macro, but the command must be loaded before the action macro
is played back. VBA macros and .NET assemblies can also be recorded as
part of an action macro, but they must be loaded in order to be played
back.
Action macros cannot have the same name as a command that is already
defined and loaded into AutoCAD.
50 | Chapter 1 Basic Customization