You can add a text object to a complex linetype using the following syntax:
["string", style_name] or ["string", style_name, transform]
The definitions of the fields in the syntax are as follows.
string The text to be used in the complex linetype. You cannot use the ` or the " characters in the text string. To use these characters, enter a control code (%%) with the ASCII value for the character instead.
style_name The name of the text style to be elaborated. The specified text style must be included. If it is omitted, use the currently defined style.
transform The transform argument is optional and can be any series of the following (each preceded by a comma):
R=value Relative rotation
A=value Absolute rotation
S=value Scale
X=value X offset
Y=value Y offset
In this syntax, value represents a signed decimal number. The rotation is expressed in degrees while the other options are in linetype scaled drawing units.
rotation R=value or A=value.
R= determines a relative or tangential rotation with respect to the line’s elaboration.
A= determines an absolute rotation of the text with respect to the origin. All text has the same rotation regardless of its relative position to the line. The value can be appended with a d for degrees (default), r for radians, or g for grads. If rotation is omitted, 0 relative rotation is used.
Rotation is centered between the baseline and the nominal cap heights box.
scale S=value.
Determines a factor by which the style's height is multiplied. If the style's height is 0, the scale value is used as the scale.
Because the final height of the text is defined by both the scale value and the height assigned to the text style, you will achieve more predictable results by set-ting the text style height to 0. It is recommended that you create separate text styles for text in complex linetypes to avoid conflicts with other text in your drawing.
X offset X=value.
Determines a shift of the text along the X axis of the linetype computed from the end of the linetype definition vertex. If X offset is omitted or is 0, the text is elaborated by using the lower left corner of the text as the offset. Include this field if you want a continuous line with text. This value is not scaled by the scale factor that is defined by S.
Y offset Y=value.
Determines a shift of the text along the Y axis of the linetype computed from the end of the linetype definition vertex. If Y offset is omitted or is 0, the text is elaborated by using the lower left corner of the text as the offset. This value is not scaled by the scale factor that is defined by S.
Tell me about...