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
<= (less than or equal to) . . . . . . . . . . . . . . . . . . . . . 405
>= (greater than or equal to) . . . . . . . . . . . . . . . . . . . . 406
and . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
angtos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
edtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
eq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
eval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
fix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
getenv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
getvar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
if . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
nth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
or . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
rtos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
strlen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
substr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
upper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
xor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
DIESEL Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . 415
Chapter 6
Slides and Command Scripts . . . . . . . . . . . . . . . . . . 417
Create Slides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
Overview of Slides . . . . . . . . . . . . . . . . . . . . . . . . . 417
View Slides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
Create and View Slide Libraries . . . . . . . . . . . . . . . . . . 420
Create Command Scripts . . . . . . . . . . . . . . . . . . . . . . . . 422
Overview of Command Scripts . . . . . . . . . . . . . . . . . . 422
Run Scripts at Startup . . . . . . . . . . . . . . . . . . . . . . . 424
Run Slide Shows from Scripts . . . . . . . . . . . . . . . . . . . 426
Chapter 7
Introduction to Programming Interfaces . . . . . . . . . . . . 429
ActiveX Automation . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
Overview of ActiveX . . . . . . . . . . . . . . . . . . . . . . . . 429
Define a Command to Start Your Application . . . . . . . . . . 431
Start an Application from a Menu or Toolbar . . . . . . . . . . . 431
AutoCAD VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
Overview of AutoCAD VBA . . . . . . . . . . . . . . . . . . . . 432
Use AutoCAD VBA Applications . . . . . . . . . . . . . . . . . . 434
Automatically Load and Execute VBA Projects . . . . . . . . . . 435
AutoLISP and Visual LISP . . . . . . . . . . . . . . . . . . . . . . . . 437
Overview of AutoLISP and Visual LISP . . . . . . . . . . . . . . 437
Use AutoLISP Applications . . . . . . . . . . . . . . . . . . . . . 439
Automatically Load and Run AutoLISP Routines . . . . . . . . . 440
Overview of AutoLISP Automatic Loading . . . . . . . . . 440
Contents | vii