You can create, edit, and place commands in the user interface.
Commands are created and managed in the Command List pane of the Customize User Interface (CUI) Editor. You can create new commands from scratch, copy existing commands to create a new command, or edit the properties of an existing command. When a command is added to a user interface element, a reference to the command is created. Then, if you make changes to the command, the changes are reflected everywhere the command is referenced within the CUIx file.
The following table shows the properties of the Scale command as they appear in the Properties pane.
Properties for the Scale command in the Command List pane
Properties pane item
Description
Example
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.
Scale
Description
Specifies the string that is displayed as part of the basic tooltip for the command.
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.
NoteExtended tooltips are assigned internal for all standard commands.
Command Display Name
Specifies the string that contains the name of the AutoCAD command that is related to the macro assigned to the command.
SCALE
Macro
Specifies the macro that will be executed when the command is invoked from the user interface.
Specifies the keywords associated with a command. Tags provide additional information to search on when using the Search box in the application menu.
Element ID
Specifies the tag that uniquely identifies the command.
ID_Scale
Small Image
Specifies the resource ID or file name for the small (16 × 16 bitmap) resource image.
RCDATA_16_SCALE
Large Image
Specifies the resource ID or file name for the large (32 × 32 bitmap) resource image.
RCDATA_32_SCALE
Show Me: Create a Command
The following animation shows how to create a custom command in the main CUIx file. The animation covers assigning a name, description, and macro to a command. For assigning an image to a command, see About Creating Images for Commands.