2012
Table Of Contents
- Contents
- Basic Customization
- Custom Linetypes
- Custom Hatch Patterns
- User Interface Customization
- DIESEL
- Command Scripts
- Introduction to Programming Interfaces
- Shapes and Shape Fonts
- Overview of Shape Files
- Create Shape Definition Files
- Shape Descriptions
- Vector Length and Direction Code
- Special Codes
- Use Special Codes
- Codes 0, 1, and 2: End of Shape and Draw Mode Control
- Codes 3 and 4: Size Control
- Codes 5 and 6: Location Save/Restore
- Code 7: Subshape
- Codes 8 and 9: X-Y Displacements
- Code 00A: Octant Arc
- Code 00B: Fractional Arc
- Codes 00C and 00D: Bulge-Specified Arcs
- Code 00E: Flag Vertical Text Command
- Text Font Descriptions
- Sample Files
- Big Font Descriptions
- Unicode Font Descriptions
- Superscripts and Subscripts in SHX Files
- Index
Create, Edit, and Reuse Commands
To create a custom command
1 At the Command prompt, enter cui and press Enter.
2 In the Customize dialog box, Commands tab, click Create New Command
(+).
A new command (named Command1) is added to the Commands list
and properties for the new command are displayed in the Properties
section.
3 In the Properties section, do the following:
In the Name box, enter a name for the command.
The name is displayed in a tooltip on the Tool Sets palette and used
as the caption for a menu item.
In the Description box, enter a description for the command.
The description is displayed in a tooltip on the Tool Sets palette.
In the Macro box, enter a macro for the command.
In the Image box, click the […] button to display the Select an Image
File dialog box. Select the raster image you want to assign to the
command, it should be 16x16 pixels
To edit a command
1 At the Command prompt, enter cui and press Enter.
2 In the Customize dialog box, Commands tab, Commands list, select the
command to edit.
NOTE
When you make a change to a command, the change is applied to all
instances of the command in all menus and tool sets.
3 In the Properties section, do any of the following to edit the command:
In the Name box, enter a name for the command.
The name is displayed in a tooltip on the Tool Sets palette and used
as the caption for a menu item.
In the Description box, enter a description for the command.
The description is displayed in a tooltip on the Tool Sets palette.
In the Macro box, enter a macro for the command.
36 | Chapter 4 User Interface Customization