2011
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
See also:
■ Use Special Control Characters in Macros on page 49
■ DIESEL on page 71
Quick Reference
Commands
CUI
Manages the customized user interface elements in the product.
System Variables
FILLMODE
Specifies whether hatches and fills, 2D solids, and wide polylines are filled
in.
Use AutoLISP in Macros
Creating commands that use AutoLISP is a more advanced way to use the
AutoCAD for Mac customization feature.
You can use AutoLISP variables and expressions to create macros that perform
complex tasks. To use AutoLISP efficiently in macros, place AutoLISP code in
a separate MNL file. AutoCAD for Mac loads the MNL file when it loads a
CUIx file with the same name and in the same location.
You can specify additional AutoLISP files to load in the Customize User
Interface (CUI) Editor. Creating commands that use AutoLISP is a more
advanced way to use the AutoCAD for Mac customization feature. Carefully
study the following examples and the information in the AutoLISP Reference
and the AutoLISP Developer's Guide. To access the additional help resources, on
the InfoCenter toolbar, to the right of the Help button, click the drop-down
arrow. Experimentation and practice will help you use this feature effectively.
Call a Macro
To programmatically execute a pull-down menu macro, use the following
syntax:
(menucmd "Gcustomizationgroup.element_ID=|")
Create Macros | 57