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
Create and Manage Customization Files
Customization (CUIx) files are used to store commands, user interface elements,
and references to partial CUIx files and AutoLISP files. CUIx files can be
designated as main, partial, or enterprise.
Basics of Customization Files
Customization files are loaded into AutoCAD to define elements that make
up the user interface and are edited using the Customize User Interface (CUI)
Editor.
AutoCAD comes with several different CUIx files that can be tailored to your
work environment. AutoCAD has two main designations for CUIx files, main
and enterprise; by default AutoCAD uses a main CUIx file. You can customize
the files that come with AutoCAD or you can create your own CUIx files from
scratch using the Transfer tab in the Customize User Interface (CUI) Editor.
When customizing the CUIx files that come with AutoCAD or creating your
own CUIx files, the Customize User Interface (CUI) Editor creates a backup
copy of the file when you first start making changes to the CUIx file. This
allows you to restore the file if you delete something that you wanted to keep.
If you happen to modify a CUIx file that comes with AutoCAD, you can reset
it back to its original state.
The Customize User Interface allows you to not only create new user interface
elements and commands from scratch, but you can also copy existing user
interface elements and commands to modify them.
To set the working CUIx file
Before you can add custom commands to a CUIx file, you must set a CUIx
file as the working file.
1 Click Manage tab ➤ Customization panel ➤ User Interface.
2 In the Customize User Interface Editor, Customize tab, Customizations
In <file name> pane, click the down arrow on the Customization Files
drop-down list.
3 Select Main Customization File <file name> or one of the loaded CUIx
files to set it as the working CUIx file.
122 | Chapter 4 User Interface Customization