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
The ACADDOC.LSP File . . . . . . . . . . . . . . . . . . . 439
The MNL File for an AutoLISP Menu . . . . . . . . . . . . 440
Prevent AutoLISP Errors When Loading Startup Files . . . . 441
S::STARTUP Function: Postinitialization Execution . . . . . 442
ObjectARX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444
Overview of ObjectARX . . . . . . . . . . . . . . . . . . . . . . 444
Use ObjectARX Applications . . . . . . . . . . . . . . . . . . . . 444
Automatically Load ObjectARX Applications . . . . . . . . . . . 446
.NET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
Overview of .NET . . . . . . . . . . . . . . . . . . . . . . . . . 447
Loading Managed Applications in AutoCAD . . . . . . . . . . . 447
Install and Uninstall Plug-In Applications . . . . . . . . . . . . . . . 448
PackageContents.xml Format . . . . . . . . . . . . . . . . . . . 449
ApplicationPackage Element . . . . . . . . . . . . . . . . 452
CompanyDetails Element . . . . . . . . . . . . . . . . . . 454
Components Element . . . . . . . . . . . . . . . . . . . . 455
Supported Locale Codes . . . . . . . . . . . . . . . . . . . 461
Example of Basic .bundle Folder Structure . . . . . . . . . . . . 462
Example of Using Folders to Organize Components . . . . . . . 464
Chapter 8
Shapes and Shape Fonts . . . . . . . . . . . . . . . . . . . . . 467
Overview of Shape Files . . . . . . . . . . . . . . . . . . . . . . . . . 467
Create Shape Definition Files . . . . . . . . . . . . . . . . . . . . . . 469
Shape Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . 469
Vector Length and Direction Code . . . . . . . . . . . . . . . . 470
Special Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
Use Special Codes . . . . . . . . . . . . . . . . . . . . . . 472
Codes 0, 1, and 2: End of Shape and Draw Mode
Control
. . . . . . . . . . . . . . . . . . . . . . . . . . . 473
Codes 3 and 4: Size Control . . . . . . . . . . . . . . . . . 474
Codes 5 and 6: Location Save/Restore . . . . . . . . . . . . 474
Code 7: Subshape . . . . . . . . . . . . . . . . . . . . . . 475
Codes 8 and 9: X-Y Displacements . . . . . . . . . . . . . 475
Code 00A: Octant Arc . . . . . . . . . . . . . . . . . . . . 476
Code 00B: Fractional Arc . . . . . . . . . . . . . . . . . . 478
Codes 00C and 00D: Bulge-Specified Arcs . . . . . . . . . . 479
Code 00E: Flag Vertical Text Command . . . . . . . . . . . 480
Text Font Descriptions . . . . . . . . . . . . . . . . . . . . . . . 481
Sample Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
Extended Simplex Roman . . . . . . . . . . . . . . . . . . 484
Extended Standard Font for UNICODE . . . . . . . . . . . 512
Big Font Descriptions . . . . . . . . . . . . . . . . . . . . . . . 532
Define a Big Font . . . . . . . . . . . . . . . . . . . . . . 532
Define an Extended Big Font File . . . . . . . . . . . . . . 533
Use Big Font Text in a Drawing . . . . . . . . . . . . . . . 539
Use a Big Font to Extend a Font . . . . . . . . . . . . . . . 540
viii | Contents