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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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 />

Text in Custom Linetypes<br />

Characters from text fonts can be included in linetypes.<br />

Characters from text fonts can be included in linetypes. Linetypes with<br />

embedded characters can denote utilities, boundaries, contours, and so on.<br />

As with simple linetypes, lines are dynamically drawn as you specify the<br />

vertices. Characters embedded in lines are always displayed completely; they<br />

are never trimmed.<br />

Embedded text characters are associated with a text style in the drawing. Any<br />

text styles associated with a linetype must exist in the drawing before you<br />

load the linetype.<br />

The format for linetypes that include embedded characters is similar to that<br />

for simple linetypes in that it is a list of pattern descriptors separated by<br />

commas.<br />

Character Descriptor Format<br />

The format for adding text characters in a linetype description is as follows:<br />

["text",textstylename,scale,rotation,xoffset,yoffset]<br />

This format is added as a descriptor to a simple linetype. For example, a<br />

linetype called HOT_WATER_SUPPLY is defined as<br />

*HOT_WATER_SUPPLY,---- HW ---- HW ---- HW ---- HW ---- HW ----<br />

A,.5,-.2,["HW",STANDARD,S=.1,U=0.0,X=-0.1,Y=-.05],-.2<br />

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

a space 0.2 drawing units long, the characters HW with some scale and<br />

placement parameters, and another space 0.2 drawing units long. The text<br />

24 | Chapter 2 Custom Linetypes

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

Saved successfully!

Ooh no, something went wrong!