Untitled

(Steven Felgate) #1
Program aliases for shortcut menus

Alias Description

Defines the Default mode shortcut menu. (Right-click the drawing
area while no command is active and no objects are selected.)

CMDEFAULT

Defines the Edit mode shortcut menu. (Right-click the drawing
area while one or more objects are selected, no grips are selected,
and no command is active.)

CMEDIT

Defines the Command mode menu. (Right-click the drawing
area while a command is active.) In addition to the content of

CMCOMMAND

the CMCOMMAND menu, the command’s options (keywords
within the square brackets) are inserted into this menu.

Defines the Object Snap menu. (Shift+right-click the drawing
area.)

SNAP

Object Specific Shortcut Menus

The CMEDIT and CMCOMMAND shortcut menus can be made context-sensitive. In
addition to the content of the CMEDIT menu, the appropriate object menu (if
it exists) is inserted into this menu when one or more of a specific object type
are selected. Object menus use either of the following naming conventions:

OBJECT_objectname

OBJECTS_objectname

If a single object is selected, the OBJECT_objectname menu is used, and if more
than one of the same object type is selected, the OBJECTS_objectname menu
is used. If no OBJECT_objectname is available, the program uses the
OBJECTS_objectname menu (if it exists).

The object name used for the alias is the drawing interchange format (DXF™)
name of the object in most cases except for inserted objects. The following
table shows the object names that are specific to inserted objects (blocks,
dynamic blocks, and xrefs).

Object names specific to insert objects

Object Name Description

ATTBLOCKREF Block reference with attributes

218 | Chapter 4 User Interface Customization

Free download pdf