Jump to content

Line w/text ex: _____6" Water______6"Water____


Recommended Posts

Posted
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. 8)

  • Replies 32
  • Created
  • Last Reply

Top Posters In This Topic

  • POaid

    10

  • tzframpton

    8

  • lpseifert

    4

  • rkmcswain

    3

Posted
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. 8)

 

I wasn't knocking your advice, just pointing out another way for future readers of this thread.... :D

Posted

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. :lol: j/k

Posted

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?

Posted

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.

Guest Alan Cullen
Posted
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.....

  • 1 year later...
Posted

When I make a linetype with text, it says "Invalid number or bad continuation". Any idea what I'm doing wrong?

Posted

Post the portion of the .lin file, it's kinda hard to debug without it.

Posted

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

Posted

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

Posted

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

Posted

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.

  • 6 months later...
Posted

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.

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