Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Pneumatic Linetype ???

22 REPLIES 22
Reply
Message 1 of 23
fryguy9228
11360 Views, 22 Replies

Pneumatic Linetype ???

How come there isn't a pneumatic linetype? This is one of the most commonly used linetypes in controls and instrumentation engineering drawings!!! Someone please tell me why? And how can I obtain it without manually doing it myself?
22 REPLIES 22
Message 2 of 23
Anonymous
in reply to: fryguy9228

what's it look like?

wrote in message news:5788884@discussion.autodesk.com...
How come there isn't a pneumatic linetype? This is one of the most commonly
used linetypes in controls and instrumentation engineering drawings!!!
Someone please tell me why? And how can I obtain it without manually doing
it myself?
Message 3 of 23
fryguy9228
in reply to: fryguy9228

-------//-----------//-----------//-----------

solid line with 2 diagonal lines spaced every so often ... similar to above.
Message 4 of 23
Anonymous
in reply to: fryguy9228

If you have Express Tools, it is relatively simple to MKSHAPE and MKLTYPE
--
Gordon


wrote in message news:5788892@discussion.autodesk.com...
-------//-----------//-----------//-----------

solid line with 2 diagonal lines spaced every so often ... similar to above.
Message 5 of 23
EC-CAD
in reply to: fryguy9228

Try this. Place in your acad.lin file.. or make up a new
.lin file called pneumatic.lin.

*PNEUMATIC,Pneumatic Lines
A,.25,-.12,.25,-.12,.25,-.12,["//",STANDARD,S=.20,R=0.0,X=-0.1,Y=-.10],-.25

Watch for line wrap.

Bob
Message 6 of 23
dgorsman
in reply to: fryguy9228

Rather than relying on text, use the "slash" shape in the shape file that comes with AutoCAD. Fewer problems, especially given some peoples prediliction to using text style Standard.
----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Message 7 of 23
EC-CAD
in reply to: fryguy9228

Or, with solid lines...
*PNEUMATIC2,Pneumatic Lines
A,.75,-.25,["//",STANDARD,S=.20,R=0.0,X=-0.1,Y=-.10],-.25

Bob
Message 8 of 23
EC-CAD
in reply to: fryguy9228

Alrighty. Let's see your version.

Bob
Message 9 of 23
dgorsman
in reply to: fryguy9228

[TRACK1,ltypeshp.shx,S=___,R=-45,X=0,Y=0]

Adjust scale and position to fit.
----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Message 10 of 23
EC-CAD
in reply to: fryguy9228

I tried that one.
Had to change to:
*PNEUMATIC3,Pneumatic Lines
A,.75,-.25,[TRACK1,ltypeshp.shx,S=.25,R=-45,X=0,Y=0],-.25
..
and, that only gives me just (1) slash..

Did you check it ?

Bob
Message 11 of 23
dgorsman
in reply to: fryguy9228

Needs to be repeated for each slash - really busy here, so I grabbed the binary signal version by mistake, sorry... but on the plus side, fiddling with it should give you a better feel on how its put together.
----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Message 12 of 23
cps12345
in reply to: fryguy9228

Here is what I ended up using after a few trials. This gives the double hash mark.

*PNEUMATIC,Pneumatic Lines ----//----//----//----//
A,1.2,-.01,[TRACK1,ltypeshp.shx,S=.15,R=-45,X=0,Y=0],-.2,[TRACK1,ltypeshp.shx,S=.15,R=-45,X=0,Y=0],-.01

Steve Cook
Cook Process Solutions, LLC
Message 13 of 23
jovelt
in reply to: cps12345

Brilliant, thanks - just saved me a stack of time Smiley Very Happy

Message 14 of 23
Pabber
in reply to: cps12345

Is there a way to have AutoCAD draw a line between the slashes (no gap)?

 

Thanks!

Message 15 of 23
Kent1Cooper
in reply to: Pabber


@Pabber wrote:

Is there a way to have AutoCAD draw a line between the slashes (no gap)?

 

Thanks!


Just take the minus signs out [and you may as well take the ,-.01 out altogether].

Kent Cooper, AIA
Message 16 of 23
Pabber
in reply to: dgorsman

It still has a gap between the slashes. I assume that it's because the second slash is drawn offset from the first slash producing a visible gap...

Message 17 of 23
dgorsman
in reply to: Pabber

If you want a single, very thick slash then you will have to stack several very close to each other and let the plotted lineweight merge them together, or build a specific shape.  Just don't forget to distribute the compiled shape file or face the wrath of those who inherit your DWGs.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Message 18 of 23
Kent1Cooper
in reply to: Pabber


@Pabber wrote:

It still has a gap between the slashes. I assume that it's because the second slash is drawn offset from the first slash producing a visible gap...


Sorry....  I thought you meant you wanted no gap in the through-it-all line -- it's the minus signs that cause that [the "pen up" portions] -- rather than no gap between the slashes.  You can go with dgorsman's suggestions, or ir .TTF fonts are viable in complex linetypes [I haven't tried them], maybe you can use some character from Wingdings, or a rotated "pipe" or underscore or capital I in Swiss, or something.

Kent Cooper, AIA
Message 19 of 23
Pabber
in reply to: dgorsman

Please see the image below.

 

Red is NOT what I'm after

Green IS what I'm after

 

Pneumatic Lines.PNG

Message 20 of 23
Kent1Cooper
in reply to: Pabber


@Pabber wrote:

....

Green IS what I'm after


Are you sure taking the negatives out doesn't do that?  I haven't loaded it in and tried it, but I think this should work:
 

A,1.2,[TRACK1,ltypeshp.shx,S=.15,R=-45,X=0,Y=0],.2,[TRACK1,ltypeshp.shx,S=.15,R=-45,X=0,Y=0]

 

Or, consider equalizing the end situations by splitting the line portion around the shape parts:

 

A,.6,[TRACK1,ltypeshp.shx,S=.15,R=-45,X=0,Y=0],.2,[TRACK1,ltypeshp.shx,S=.15,R=-45,X=0,Y=0],.6

Kent Cooper, AIA

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost