03.01.2013 Views

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Quick Reference<br />

Commands<br />

LINETYPE<br />

Loads, sets, and modifies linetypes.<br />

System Variables<br />

MEASUREINIT<br />

Controls whether a drawing you start from scratch uses imperial or metric<br />

default settings.<br />

Simple Custom Linetypes<br />

Each linetype is defined on two lines in a linetype definition file. The first<br />

line contains the linetype name and an optional description. The second line<br />

is the code that defines the actual linetype pattern.<br />

The second line must begin with the letter A (alignment), followed by a list<br />

of pattern descriptors that define pen-up lengths (spaces), pen-down lengths<br />

(dashes), and dots. You can include comments in an LIN file by beginning<br />

the line with a semicolon (;).<br />

Linetype Definition Format<br />

The format of the linetype definition is<br />

*linetype_name,description<br />

A,descriptor1,descriptor2, ...<br />

For example, a linetype called DASHDOT is defined as<br />

*DASHDOT,Dash dot __ . __ . __ . __ . __ . __ . __ . __<br />

A,.5,-.25,0,-.25<br />

This indicates a repeating pattern starting with a dash 0.5 drawing units long,<br />

a space 0.25 drawing units long, a dot, and another space 0.25 drawing units<br />

long. This pattern continues for the length of the line, ending with a dash 0.5<br />

drawing units long. The linetype would be displayed as shown below.<br />

__ . __ . __ . __ . __ . __ . __ . __<br />

LIN files must be saved in ASCII format and use an .lin file extension. Additional<br />

information about each field in a linetype definition follows.<br />

20 | Chapter 2 Custom Linetypes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!