PDA

View Full Version : Custom Linetype



happyunited
3rd Jan 2008, 11:11 am
I have a linetype in a third party drawing that I want to amend problem is i dont know where to find the .lin file for it? i have searched for them but can only find the autocad ones.

many thanks

NBC
3rd Jan 2008, 11:14 am
i'm guessing you have 2 options:

1. ask whoever sent you the third party drawing to send you the relevant .lin file.
2. recreate the linetype yourself

happyunited
3rd Jan 2008, 11:19 am
i'm guessing you have 2 options:

1. ask whoever sent you the third party drawing to send you the relevant .lin file.
2. recreate the linetype yourself

1. its a drawing we recieved years ago so i cant chase up the person.

2. I havent got the time to read how to creat one, i have created one but that was easy because i used the GAS one in cad and changed the letters to COM but now i want one with SHELL on it and as you can imagine its causing problems.

good results for city!!

NBC
3rd Jan 2008, 11:22 am
can you post up a portion of the drawing with the linetype in question, and i'll see what i can come up with.

oh aye, i'd much rather have citeh in the top 4 than the bin-dippers

Alan Cullen
3rd Jan 2008, 11:24 am
Happy, write a line out that uses that linestyle to a block and post it here. Then we can have a look at it for you.

happyunited
3rd Jan 2008, 11:30 am
*GAS_LINE,Gas line ----GAS----GAS----GAS----GAS----GAS----GAS--
A,.5,-.2,["GAS",STANDARD,S=.1,R=0.0,X=-0.1,Y=-.05],-.25

ok this is what i have and what i want is the word GAS to be replaced by the word SHELL, i have done one for MID but that was easy.

Many thanks.

Yes would rather see city up there than any of our friends from merseyside

NBC
3rd Jan 2008, 11:41 am
try add the following to your .line file:

*SHELL,Shell line ----SHELL----SHELL----SHELL----SHELL----
A,.5,-.1,["SHELL",STANDARD,S=.1,R=0.0,Y=-.05],-.566667

happyunited
3rd Jan 2008, 11:56 am
try add the following to your .line file:

*SHELL,Shell line ----SHELL----SHELL----SHELL----SHELL----
A,.5,-.1,["SHELL",STANDARD,S=.1,R=0.0,Y=-.05],-.566667

many thanks, worked perfect

NBC
3rd Jan 2008, 12:08 pm
Job's a good un.

chulse
3rd Jan 2008, 01:07 pm
I've seen a lisp that writes a .lin file from all the linetypes in a given dwg. I think it's called linout

happyunited
4th Jan 2008, 06:10 pm
thanks for all your help so far. ok another wee problem.
I have another linetype SW which is shown below i have done it black (7) but when I plot does the text come out all blurry? is there anyway I can make it come out a bit more crisp with altering the plot file?

CarlB
5th Jan 2008, 04:47 am
Text will plot to the width set by the pen/color. You could change to a narrower/pen color, but make the line the desired width by making it a polyline (using pedit).

rkmcswain
10th Mar 2008, 03:19 pm
I have a linetype in a third party drawing that I want to amend problem is i dont know where to find the .lin file for it? i have searched for them but can only find the autocad ones.

many thanks

Grab NEW-LIN.LSP or TO-LIN.LSP from http://www.turvill.com/t2/free_stuff/index.htm.

These will create a .LIN file from the linetypes in a drawing.