PDA

View Full Version : syntax for creating linetype



ali888
1st Sep 2006, 02:35 am
Hi,

I was wondering if anyone might be able to help me here. I'd like to know the syntax for creating a new customised linetype for AutoCAD LT 2005. Sometimes, the linetype i want doesn't exist in the built-in linetype library. I was wondering if anyone might be able to explain to me. I know how to create one but if someone comes along and asks me what this or that means. I had no idea of that kind of information.

I've got a simple example as follows. This is written in the notepad

*abandon_line,----X----X----X----X----X----
A,.5,-.2,["x",STANDARD,S=.15,R=0.0,X=-0.1,Y=-.05],-.2

What is A or S, etc? There must be a syntax rule here.

Thank you in advance

CarlB
1st Sep 2006, 02:51 am
From the AutoCAD help files, under "customization" (the "A" seems to be used for all linetype definitions):

*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.