A command can be executed by typing its name at the Command prompt or executing it from the user interface, such as a button on ribbon or an item from a shortcut menu. The commands executed from the user interface can be customized and organized to align with your drafting workflows and CAD standards.
Commands be created or managed using:
The following table lists the properties that define a command.
Property |
Description |
Customizable With |
Example |
|
---|---|---|---|---|
CUI Editor |
Command Macros Editor |
|||
Name |
Specifies the string that is used as the initial name for the element when the command is added to the user interface or as part of a tooltip. |
X |
X |
Scale |
Description |
Specifies the string that is displayed as part of the basic tooltip for the command. |
X |
X |
Enlarges or reduces selected objects, keeping the proportions of the object the same after scaling |
Extended Help File |
Specifies the XAML file name and Help ID in the file that defines the extended tooltip for the command. Note: Extended tooltips are assigned internal for all standard commands.
|
X |
||
Command Display Name |
Specifies the string that contains the name of the AutoCAD command that is related to the macro assigned to the command. |
X |
SCALE |
|
Macro |
Specifies the macro that will be executed when the command is invoked from the user interface. |
X |
X |
$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,4),GRIP),_scale,^C^C_scale) |
Tags |
Specifies the keywords associated with a command. Tags provide additional information to search on when using the Search box in the application menu. |
X |
||
Element ID |
Specifies the tag that uniquely identifies the command. |
X |
ID_Scale |
|
Small Image |
Specifies the resource ID or file name for the small (16 × 16) resource image. |
X |
RCDATA_16_SCALE |
|
Large Image |
Specifies the resource ID or file name for the large (32 × 32) resource image. |
X |
X |
RCDATA_32_SCALE |