2012
Table Of Contents
- Contents
- Basic Customization
- Custom Linetypes
- Custom Hatch Patterns
- User Interface Customization
- DIESEL
- 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) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
> (greater than) . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
!= (not equal to) . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
<= (less than or equal to) . . . . . . . . . . . . . . . . . . . . . . 66
>= (greater than or equal to) . . . . . . . . . . . . . . . . . . . . 66
and . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
angtos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
edtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
eq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
eval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
fix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
getenv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
getvar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
if . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
nth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
or . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
rtos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
strlen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
substr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
upper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
xor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
DIESEL Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Chapter 6
Command Scripts . . . . . . . . . . . . . . . . . . . . . . . . . 73
Create Command Scripts . . . . . . . . . . . . . . . . . . . . . . . . . 73
Overview of Command Scripts . . . . . . . . . . . . . . . . . . . 73
Overview of Command Scripts . . . . . . . . . . . . . . . . 74
Run Scripts at Startup . . . . . . . . . . . . . . . . . . . . . . . . 75
Run Scripts at Startup . . . . . . . . . . . . . . . . . . . . . 76
Chapter 7
Introduction to Programming Interfaces . . . . . . . . . . . . . 77
AutoLISP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Overview of AutoLISP . . . . . . . . . . . . . . . . . . . . . . . . 77
Use AutoLISP Applications . . . . . . . . . . . . . . . . . . . . . 78
Automatically Load and Run AutoLISP Routines . . . . . . . . . . 80
Overview of AutoLISP Automatic Loading . . . . . . . . . . 80
The ACAD.LSP File . . . . . . . . . . . . . . . . . . . . . . 81
The ACADDOC.LSP File . . . . . . . . . . . . . . . . . . . . 82
The MNL File for an AutoLISP Menu . . . . . . . . . . . . . 83
Prevent AutoLISP Errors When Loading Startup Files . . . . 83
S::STARTUP Function: Postinitialization Execution . . . . . 84
ObjectARX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Overview of ObjectARX . . . . . . . . . . . . . . . . . . . . . . . 86
Use ObjectARX Applications . . . . . . . . . . . . . . . . . . . . 86
Contents | v