tzframpton Posted June 28, 2007 Posted June 28, 2007 In fact, in the context of this post, the OP *could* have put his new linetype definition in any .LIN file (it didn't have to be "acad.lin") and loaded it from there. This is true. I have my own custom LIN file for a few linetypes I use, seperate from the 'acad.lin' file - but that would have just confused him even more so that's why I had him copy/paste it in his acad.lin file. Quote
rkmcswain Posted June 28, 2007 Posted June 28, 2007 This is true. I have my own custom LIN file for a few linetypes I use, seperate from the 'acad.lin' file - but that would have just confused him even more so that's why I had him copy/paste it in his acad.lin file. I wasn't knocking your advice, just pointing out another way for future readers of this thread.... Quote
tzframpton Posted June 28, 2007 Posted June 28, 2007 McSwain, no need for that last post... trust me man, I know that you aren't knocking me, and I know that if anyone here knows of more effecient ways around AutoCAD, it's you for sure - and it's helpful when you do for others. I was just commenting you mainly because I have some down time at work, and I have to uphold my post count. j/k Quote
POaid Posted June 28, 2007 Author Posted June 28, 2007 Hey Um now i'm changing the utilitiy lines on a map and when i put the line in its upside down how do i change that? would i put 180 in the rotation or what? Quote
lpseifert Posted June 28, 2007 Posted June 28, 2007 Draw the line in the opposite direction or look here for Plrev.lsp http://www.turvill.com/t2/free_stuff/index.htm Quote
Wozza Posted July 2, 2007 Posted July 2, 2007 Here's a tip for those linetypes that we also use here, mainly for hydraulic lines, e.g. -------SP---------SP---------SP-------- If you need the linetype to be reasonably thick, then I'd assume that you'd change the line colour to something to match that thickness. The problem then is that the text will print with that thickness as well. If it's quite a thick line, the text can become unreadable. What we do is set up the menu button to draw the line as a polyline of the required thickness and choose a suitable colour that differentiates it from other lines. We then set the colour in the ctb file to plot the thickness that is suitable for the text. Line thickness set by the polyline width, text set by colour. Quote
Guest Alan Cullen Posted July 2, 2007 Posted July 2, 2007 Here's a tip for those linetypes that we also use here, mainly for hydraulic lines, e.g. -------SP---------SP---------SP-------- If you need the linetype to be reasonably thick, then I'd assume that you'd change the line colour to something to match that thickness. The problem then is that the text will print with that thickness as well. If it's quite a thick line, the text can become unreadable. What we do is set up the menu button to draw the line as a polyline of the required thickness and choose a suitable colour that differentiates it from other lines. We then set the colour in the ctb file to plot the thickness that is suitable for the text. Line thickness set by the polyline width, text set by colour. Thanks, Wozza.....I'm going to try that one......I have text in lines that I want to plot thick.....but they never work properly..... Quote
CREON242 Posted August 22, 2008 Posted August 22, 2008 When I make a linetype with text, it says "Invalid number or bad continuation". Any idea what I'm doing wrong? Quote
lpseifert Posted August 22, 2008 Posted August 22, 2008 Post the portion of the .lin file, it's kinda hard to debug without it. Quote
CREON242 Posted August 22, 2008 Posted August 22, 2008 Sorry, it goes ------ F ------ F ------ F it's for fire protection. The description I put in was A, 5,-1 ["F",STANDARD,S=1,R=0.0,X=0.0,Y=0.0],-1 Quote
lpseifert Posted August 22, 2008 Posted August 22, 2008 Dunno... I used this and it worked *FIRE,Fire------ F ------ F ------ F A,5,-1,["F",STANDARD,S=1,R=0.0,X=0.0,Y=0.0],-1 Try closing acad,reopen and load the linetype Quote
rustysilo Posted August 22, 2008 Posted August 22, 2008 We use one that just has W6" in it where the 6" is superscript. I'll post the code for it Monday. I may have posted in a previous thread... Quote
rustysilo Posted August 25, 2008 Posted August 25, 2008 As promised. *WATER_6IN,Water ---- W6'' ---- W6'' ---- W6'' ---- A,0.5,-.1,["W",STANDARD,S=.07,R=0.0,X=-0.03333255,Y=-.035],-.1,["6''",STANDARD,S=.04,R=0.0,X=-0.03333255,Y=0.0],-.1 For this one we use the text style STANDARD (as noted in the code) set to the Simplex font. You would have to test it with other fonts to see if you needed to adjust the code. Quote
GDog Posted March 19, 2009 Posted March 19, 2009 Well, after messing around with finding the right lin file (I have many acad.lin files from many versions of Cad on my machine at work) I saved them all somewhere safe and altered the ones I found. I had a gas line ---- gas ---- gas ---- gas, etc. and I copied it, altered it to be the BELL line that I needed. Looks good, behaves how I want it to, many thanks to the extensive forum posts on the subject. Quote
Recommended Posts
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.