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.

characters come from the text font assigned to the STANDARD text style at a<br />

scale of 0.1, an upright rotation of 0 degrees, an X offset of -0.1, and a Y offset<br />

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

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

Notice that the total upstroke length is 0.2 + 0.2 = 0.4 and that the text origin<br />

is offset -.01 units in the X direction from the end of the first upstroke. An<br />

equivalent linetype would be<br />

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

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

The total upstroke is still 0.1 + 0.3 = 0.4, but the text origin is not offset in the<br />

X direction.<br />

Additional information about each field in the character descriptor follows.<br />

The values to be used are signed decimal numbers such as 1, -17, and 0.01.<br />

text The characters to be used in the linetype.<br />

text style name The name of the text style to be used. If no text style is<br />

specified, AutoCAD LT uses the currently defined style.<br />

scale S=value. The scale factor to be used for the text style relative to the scale<br />

of the linetype. The height of the text style is multiplied by the scale factor.<br />

If the height is 0, the value for S=value alone is used as the height.<br />

rotation U=value, R=value, or A=value. U= specifies upright or easy-to-read<br />

text. R= specifies relative or tangential rotation with respect to the line. A=<br />

specifies absolute rotation of the text with respect to the origin; that is, all<br />

text has the same rotation regardless of its position relative to the line. The<br />

value can be appended with a d for degrees (degrees is the default value), r for<br />

radians, or g for grads. If rotation is omitted, 0 relative rotation is used.<br />

Rotation is centered between the baseline and the nominal cap height.<br />

Text in Custom Linetypes | 25

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

Saved successfully!

Ooh no, something went wrong!