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
>= (greater than or equal to) . . . . . . . . . . . . . . . . . . . . 400
and . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
angtos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
edtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
eq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
eval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
fix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
getenv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
getvar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
if . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
nth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
or . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
rtos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
strlen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
substr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
upper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
xor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
DIESEL Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . 409
Chapter 6
Slides and Command Scripts . . . . . . . . . . . . . . . . . . 411
Create Slides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
Overview of Slides . . . . . . . . . . . . . . . . . . . . . . . . . 411
View Slides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
Create and View Slide Libraries . . . . . . . . . . . . . . . . . . 414
Create Command Scripts . . . . . . . . . . . . . . . . . . . . . . . . 416
Overview of Command Scripts . . . . . . . . . . . . . . . . . . 416
Run Scripts at Startup . . . . . . . . . . . . . . . . . . . . . . . 418
Run Slide Shows from Scripts . . . . . . . . . . . . . . . . . . . 420
Chapter 7
Introduction to Programming Interfaces . . . . . . . . . . . . 425
ActiveX Automation . . . . . . . . . . . . . . . . . . . . . . . . . . . 425
Overview of ActiveX . . . . . . . . . . . . . . . . . . . . . . . . 425
Define a Command to Start Your Application . . . . . . . . . . 427
Start an Application from a Menu or Toolbar . . . . . . . . . . . 427
AutoCAD VBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
Overview of AutoCAD VBA . . . . . . . . . . . . . . . . . . . . 428
Use AutoCAD VBA Applications . . . . . . . . . . . . . . . . . . 430
Automatically Load and Execute VBA Projects . . . . . . . . . . 431
AutoLISP and Visual LISP . . . . . . . . . . . . . . . . . . . . . . . . 433
Overview of AutoLISP and Visual LISP . . . . . . . . . . . . . . 433
Use AutoLISP Applications . . . . . . . . . . . . . . . . . . . . . 435
Automatically Load and Run AutoLISP Routines . . . . . . . . . 436
Overview of AutoLISP Automatic Loading . . . . . . . . . 436
The ACAD.LSP File . . . . . . . . . . . . . . . . . . . . . . 438
Contents | vii