2012
Table Of Contents
- Contents
- Basic Customization
- Overview of Customization
- Organize Program and Support Files
- Customize a Publish to Web Template
- Define Custom Commands
- Record and Modify Action Macros
- Custom Linetypes
- Custom Hatch Patterns
- User Interface Customization
- Understand User Interface Customization
- Work with the Customize User Interface (CUI) Editor
- Create and Manage Customization Files
- Customize Commands
- Overview of Commands
- Create, Edit, and Reuse Commands
- Create Macros
- Overview of Macros
- Use Special Control Characters in Macros
- Pause for User Input in Macros
- Provide International Support in Macros
- Use Built-in Commands in Macros
- Repeat Commands in Macros
- Use Single Object Selection Mode in Macros
- Use Macros to Swap User Interface Elements
- Use Conditional Expressions in Macros
- Use AutoLISP in Macros
- Control the Display of Command Items
- Assign Search Tags
- Create Tooltips and Extended Help for Commands
- Create Status Line Help Messages
- Create and Manage Images for Commands
- Customize User Interface Elements
- Load an AutoLISP File
- Customize Workspaces
- Transfer and Migrate Customization
- Customize User Interface (CUI) Editor FAQs
- DIESEL
- Slides and 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
- Migrate and Transfer Custom Settings and Files
- Index
Commands
How do I create a new command and add it to a user interface element, such
as a pull-down menu?
Commands are created and managed through the Command List pane located
in the lower-left corner of the Customize tab of the CUI Editor. See
To create
a command
on page 144 for more information.
Once the command has been created, it can be added to or used to create a
number of different user interface elements. To add the command to a menu
for example, expand the menu under the Menus node in the Customizations
In <file name> pane that you want to add the command to and then drag the
command under the menu. See
To create a pull-down menu on page 272 for
more information.
Menus
Why doesn’t my menu display on the menu bar?
Workspaces are used to control the display of menus on the menu bar. See To
display menus on the menu bar
on page 372 for more information.
How do I change the order of a pull-down menu?
Workspaces are used to control the positioning of menus on the menu bar.
See To reposition menus on the menu bar on page 373 for more information.
Toolbars
Why do my toolbars not stay in the same place after I close and restart
AutoCAD 2012?
This happens because of the way menus are loaded into AutoCAD at startup.
This problem only happens when partial and enterprise CUIx files are used.
To resolve this problem, you can use the new /w command line switch. This
causes AutoCAD 2012 to re-initialize the workspace upon startup and place
the toolbars in their correct locations. See
To restore a workspace with a
command line switch
on page 354 for more information.
Why do my icons on a toolbar display as a cloud with a question mark after
I migrate them using the Transfer tab in the CUI Editor?
This happens because the images for the custom icons are not located in the
AutoCAD support file paths. Locate the images using Windows Explorer and
Customize User Interface (CUI) Editor FAQs | 383