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
An expanded description of the linetype
A comment such as "Use this linetype for hidden lines"
If you omit the description, do not insert a comma after the linetype name.
A description cannot exceed 47 characters.
Alignment Field (A)
The alignment field specifies the action for pattern alignment at the ends of
individual lines, circles, and arcs. Currently, AutoCAD for Mac supports only
A-type alignment, which guarantees that the endpoints of lines and arcs start
and stop with a dash.
For example, suppose you create a linetype called CENTRAL that displays the
repeating dash-dot sequence commonly used as a centerline. AutoCAD for
Mac adjusts the dash-dot sequence on an individual line so that dashes and
line endpoints coincide. The pattern fits the line so that at least half of the
first dash begins and ends the line. If necessary, the first and last dashes are
lengthened. If a line is too short to hold even one dash-dot sequence, AutoCAD
for Mac draws a continuous line between the endpoints. For arcs also, the
pattern is adjusted so that dashes are drawn at the endpoints. Circles do not
have endpoints, but AutoCAD for Mac adjusts the dash-dot sequence to provide
a reasonable display.
You must specify A-type alignment by entering a in the alignment field.
Pattern Descriptors
Each pattern descriptor field specifies the length of segments making up the
linetype, separated by commas (no spaces are allowed):
A positive decimal number denotes a pen-down (dash) segment of that
length.
A negative decimal number denotes a pen-up (space) segment of that
length.
A dash length of 0 draws a dot.
You can enter up to 12 dash-length specifications per linetype, provided they
fit on one 80-character line in the LIN file. You need to include only one
complete repetition of the linetype pattern defined by pattern descriptors.
When the linetype is drawn, AutoCAD for Mac uses the first pattern descriptor
for the starting and ending dashes. Between the starting and ending dashes,
the pattern dash specifications are drawn sequentially, beginning with the
Simple Custom Linetypes | 17