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
2 In the Action Macro dialog box, do the following
■ In the Action Macro Command Name box, enter BlueCircles.
■ In the Description box, enter Changes the color of all selected circles
to blue.
3 Click OK.
Change the Selection Set to Use the Pick First Selection Set
With a request for user input, you are prompted for a value to be entered
instead of using a recorded value when playing back an action macro. In this
action macro, you change the selection set created to use the Pick First
selection. Follow these steps:
1 On the Action Recorder panel, click the title bar to expand the panel.
2 In the Action tree, under the Action Macro node, select the Pickfirst value
node and right-click. Click Use Pick First Set.
Play Back the Action Macro
When you play back the action macro, you are prompted to select objects if
no objects are selected. To see the results of the action macro, follow these
steps:
1 Draw some circles and other objects in the drawing. Change the colors
of the objects to colors other than blue.
2 On the Action Recorder panel, on the Action Macro list, select BlueCircles.
3 Click Play.
4 In the Action Macro - No Objects Selected dialog box, click Select Objects
and Continue.
5 When prompted to select objects, select the circles and the other objects
in the drawing. Press ENTER to complete object selection.
The circles in the selection set are changed to the color blue.
6 If the Action Macro - Playback Complete dialog box is displayed, click
OK.
Undo the changes made by the action macro by clicking Undo from the Quick
Access toolbar. Now select some objects in the drawing and playback the
BlueCircles action macro. This time the action macro uses the Pick First
Examples of Action Macros | 61