Jump to content

Need To Create Some Linetypes


Recommended Posts

Posted

hello, this is easy for some ppl to do , but not for me. I want to learn how to make my own linetypes.

 

Can anyone help me with this? I'm using Acad2006.

 

Thank you!!

Posted

I'm not sure if it's the same for 06, but what I do is create a text document and save the extention as .lin inside the document there are all of the linetypes that can be loaded into cad. A typical linetype in the text document would look like this

 

*FENCELINE2,Fenceline square ----[]-----[]----[]-----[]----[]---
A,.25,-.1,[bOX,ltypeshp.shx,x=-.1,s=.1],-.1,1

 

The top line is the description that would show up in your properties drop down box for linetype, and your linetype manager list. The bottom line are all of the variables for spacing and what is displayed. The “A” in the pattern definition prompt specifies the pattern alignment used at the ends of individual lines, circles, and arcs. Only A-type alignment is supported. With A-type alignment, lines and arcs are guaranteed to start and end with a dash. The A is automatically included in the definition. If you use a text editor to create a linetype, you must enter a at the beginning of the definition. The numbers following deal with spacing and gap. Then set the object type if you want it to be an object, and what shape file to use. Then you put in your placement of the object or your "X" value (typically you match the placement to your line gap). Next you set your size of the object you put in. This also typically will match the gap size. Then you place the gap size on the end, and then the line to follow. Here is the image that autocad provided in the help menu.

 

acw1240u.png

 

You can also put text instead of objects into the linetype, and here is an example of the code in the text document.

 

*INPUT-OUTPUT-3,I/O LINE 3 ---I/O---I/O---I/O---I/O---I/O---I/O-
A,.4,-.4,["I/O",STANDARD,S=.12,R=0.0,X=-0.1,Y=-.05],-0.5

 

Same for first line, but the second line has different settings due to the fact that your dealing with text. The gap (-.4) is based on how much text you want to identify the line. Then you put your text in the "" and designate text style, size, rotation, and xy coordinates based on where the line is placed. Then ending line.

 

I would set values here, and not change them (once you have tweeked them to perfection). To change line sizing I would use the properties pallette, and change the linetype scale for that line.

 

If you want additional help then I would just push F1 when in cad and type linetype when in the index tab.

 

To load them just hit other when selecting linetype, click on load, click on file, and select the linetypes you want.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...