Example 2
- Last UpdatedMar 28, 2024
- 1 minute read
A simple linetype definition containing dashes and dots:
*myLine2,- . - . -
A,1,-0.5,0,-0.5

To define the linetype that includes text characters, some parameters must be defined:
-
"text" - text to display (must be defined)
-
textstylename - used text style (must be defined)
-
scale - the scale or height of the text
-
rotation - rotation angle of the text
-
xoffset - X offset from the end of the previous space
-
yoffset - Y offset from the end of the previous space
The text specification is enclosed in square brackets "[]" and each item is separated by commas ",":
["text",textstylename,scale,rotation,xoffset,yoffset]
Note:
textstylename - should be ACAD embedded text style name, .shx files are unsupported.