Yes.
To create a simple linetype
At the Command prompt, enter -linetype.
Enter c (Create).
Enter a name for the linetype and press ENTER.
The linetype name can include up to 255 characters. Linetype names can contain letters, digits, and the special characters dollar sign ($), hyphen (-), and underscore (_). Linetype names cannot include blank spaces.
In the Create or Append Linetype File dialog box, select an LIN linetype library file from the File Name box and choose Save.
If you select an existing file, the new linetype name is added to the linetype names in the file.
Enter text that describes the new linetype (optional).
At the Enter Pattern prompt, specify the pattern of the line. Follow these guidelines:
All linetypes must begin with a dash.
Enter zeros for dots.
Enter negative real numbers for spaces. The value defines the length of the space in drawing units.
Enter positive real numbers for dashes. The value defines the length of the dash in drawing units.
Separate each dot, dash, or space value from the next with a comma.
Use a space between a dot and a dash.
Press ENTER to end the command.
Note When you create a linetype, it is not loaded into your drawing automatically. Use the Load option of LINETYPE.
To include text characters in linetypes
Create a simple linetype, as described in .
Add the text character descriptor within the linetype pattern, using the following format:
["text",textstylename,scale,rotation,xoffset,yoffset]
Press ENTER to exit LINETYPE.
Example:
The format for adding text characters in a linetype description is as follows:
["text",textstylename,scale,rotation,xoffset,yoffset]
This format is added as a descriptor to a simple linetype. For example, a linetype called HOT_WATER_SUPPLY is defined as
*HOT_WATER_SUPPLY,---- HW ---- HW ---- HW ---- HW ---- HW ----
A,.5,-.2,["HW",STANDARD,S=.1,R=0.0,X=-0.1,Y=-.05],-.2
This indicates a repeating pattern starting with a dash 0.5 drawing units long, a space 0.2 drawing units long, the characters HW with some scale and placement parameters, and another space 0.2 drawing units long. The text characters come from the text font assigned to the STANDARD text style at a scale of 0.1, a relative rotation of 0 degrees, an X offset of -0.1, and a Y offset of -0.05. This pattern continues for the length of the line, ending with a dash 0.5 drawing units long.
Refer to AutoCAD Help, Contents Tab, Customization Guide, Custom Linetypes
2006-12-12 08:02:55
·
answer #1
·
answered by Rainman 5
·
0⤊
0⤋