2011

Table Of Contents
The ACAD.LSP File . . . . . . . . . . . . . . . . . . . . . . 442
The ACADDOC.LSP File . . . . . . . . . . . . . . . . . . . 443
The MNL File for an AutoLISP Menu . . . . . . . . . . . . 444
Prevent AutoLISP Errors When Loading Startup Files . . . . 445
S::STARTUP Function: Postinitialization Execution . . . . . 446
ObjectARX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
Overview of ObjectARX . . . . . . . . . . . . . . . . . . . . . . 447
Use ObjectARX Applications . . . . . . . . . . . . . . . . . . . . 448
Automatically Load ObjectARX Applications . . . . . . . . . . . 449
.NET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
Overview of .NET . . . . . . . . . . . . . . . . . . . . . . . . . 451
Loading Managed Applications in AutoCAD . . . . . . . . . . . 451
Chapter 8
Shapes and Shape Fonts . . . . . . . . . . . . . . . . . . . . . 453
Overview of Shape Files . . . . . . . . . . . . . . . . . . . . . . . . . 453
Create Shape Definition Files . . . . . . . . . . . . . . . . . . . . . . 455
Shape Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . 455
Vector Length and Direction Code . . . . . . . . . . . . . . . . 456
Special Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458
Use Special Codes . . . . . . . . . . . . . . . . . . . . . . 458
Codes 0, 1, and 2: End of Shape and Draw Mode
Control
. . . . . . . . . . . . . . . . . . . . . . . . . . . 459
Codes 3 and 4: Size Control . . . . . . . . . . . . . . . . . 460
Codes 5 and 6: Location Save/Restore . . . . . . . . . . . . 460
Code 7: Subshape . . . . . . . . . . . . . . . . . . . . . . 461
Codes 8 and 9: X-Y Displacements . . . . . . . . . . . . . 461
Code 00A: Octant Arc . . . . . . . . . . . . . . . . . . . . 462
Code 00B: Fractional Arc . . . . . . . . . . . . . . . . . . 464
Codes 00C and 00D: Bulge-Specified Arcs . . . . . . . . . . 465
Code 00E: Flag Vertical Text Command . . . . . . . . . . . 466
Text Font Descriptions . . . . . . . . . . . . . . . . . . . . . . . 467
Sample Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
Extended Simplex Roman . . . . . . . . . . . . . . . . . . 470
Extended Standard Font for UNICODE . . . . . . . . . . . 498
Big Font Descriptions . . . . . . . . . . . . . . . . . . . . . . . 518
Define a Big Font . . . . . . . . . . . . . . . . . . . . . . 518
Define an Extended Big Font File . . . . . . . . . . . . . . 519
Use Big Font Text in a Drawing . . . . . . . . . . . . . . . 525
Use a Big Font to Extend a Font . . . . . . . . . . . . . . . 526
Unicode Font Descriptions . . . . . . . . . . . . . . . . . . . . 528
Superscripts and Subscripts in SHX Files . . . . . . . . . . . . . 529
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 533
viii | Contents