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.

NOTE Drawings containing legacy linetypes that do not use the U (upright)<br />

rotation flag can be updated to the latest linetype definition by reloading the<br />

linetype from the LIN files. Custom linetypes can be updated by changing the R<br />

(rotation) flag to the U (upright) flag prior to reloading a linetype definition. For<br />

information on loading a linetype, see Load Linetypes.<br />

xoffset X=value. The shift of the text on the X axis of the linetype, which is<br />

along the line. If xoffset is omitted or is 0, the text is elaborated with no<br />

offset. Use this field to control the distance between the text and the previous<br />

pen-up or pen-down stroke. This value is not scaled by the scale factor defined<br />

by S=value, but it is scaled to the linetype.<br />

yoffset Y=value. The shift of the text in the Y axis of the linetype, which is at<br />

a 90-degree angle to the line. If yoffset is omitted or is 0, the text is elaborated<br />

with no offset. Use this field to control the vertical alignment of the text with<br />

respect to the line. This value is not scaled by the scale factor defined by<br />

S=value, but it is scaled to the linetype.<br />

To include text characters in linetypes<br />

1 Create a simple linetype, as described in To add a simple linetype to a<br />

LIN file on page 23.<br />

2 Add the text character descriptor within the linetype pattern, using the<br />

following format:<br />

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

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

26 | Chapter 2 Custom Linetypes

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

Saved successfully!

Ooh no, something went wrong!