2011
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
- Assign, 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
- Index
4 At the Command prompt, enter polygon and press Enter.
5 At the prompt, Enter number of sides <4>, enter 6 and press Enter.
6 At the prompt, Specify center of polygon or [Edge], use the Center object
snap and select the edge of the circle.
7 At the prompt, Enter an option [Inscribed in circle/Circumscribed about
circle] <C>, enter c and press Enter.
8 At the prompt, Specify radius of circle, enter 1 and press Enter.
9 At the Command prompt, enter scale and press Enter.
10 At the prompt, Select objects, select both the circle and polygon and press
Enter.
11 At the prompt, Specify base point, use the Center object snap and select
the edge of the circle.
12 At the prompt, Specify scale factor or [Copy/Reference] <1.0000>, enter
1 and press Enter.
Stop Recording and Save an Action Macro
After all the actions have been recorded, you stop recording and save the
recorded actions to an action macro file. Follow these steps:
1 On the Action Recorder panel, click Stop.
2 In the Action Macro dialog box, do the following:
■ In the Action Macro Command Name box, enter CreateBolt.
■ In the Description box, enter Creates a hexagon bolt.
3 Click OK.
Insert a User Message
With a user message, you can provide instructions or general information
about the action macro to the user before any changes are made to the drawing
during playback. To insert a user message in the action macro, follow these
steps:
1 On the Action Recorder panel, click the title bar to expand the panel.
2 In the Action tree, select the CreateBolt node and right-click. Click Insert
User Message.
54 | Chapter 1 Basic Customization