PDA

View Full Version : linetype



happyunited
19th Jun 2007, 10:24 am
does anyone have a linetype that displays a arrow with a line say for drainage ------->--------? im sure you can make it but i has to change a line a while ago and i found it all a bit hard!

Norts
19th Jun 2007, 10:43 am
the attached file may be a good starting point for you.

Alan Cullen
19th Jun 2007, 10:45 am
Try these....

*CK,---->---->---->----
A,4,[CKD,akc.shx,s=1.1],4
*CKU,----<----<----<----
A,4,[CKU,akc.shx,s=1.1],4
*CKD,---->---->---->----
A,4,[CKD,akc.shx,s=1.1],4
*DRAIN,-->-- - - -->-- - - --
A,2.05,[CKD,akc.shx,s=1.1],1.95,-0.5,0.5,-0.5,0.5,-0.5,1
*DRAINU,-- - - --<-- - - --<--
A,1,-0.5,0.5,-0.5,0.5,-0.5,1.95,[CKU,akc.shx,s=1.1],2.05
*DRAIND,-->-- - - -->-- - - --
A,2.05,[CKD,akc.shx,s=1.1],1.95,-0.5,0.5,-0.5,0.5,-0.5,1

Norts
19th Jun 2007, 10:46 am
Try these....

*CK,---->---->---->----
A,4,[CKD,akc.shx,s=1.1],4
*CKU,----<----<----<----
A,4,[CKU,akc.shx,s=1.1],4
*CKD,---->---->---->----
A,4,[CKD,akc.shx,s=1.1],4
*DRAIN,-->-- - - -->-- - - --
A,2.05,[CKD,akc.shx,s=1.1],1.95,-0.5,0.5,-0.5,0.5,-0.5,1
*DRAINU,-- - - --<-- - - --<--
A,1,-0.5,0.5,-0.5,0.5,-0.5,1.95,[CKU,akc.shx,s=1.1],2.05
*DRAIND,-->-- - - -->-- - - --
A,2.05,[CKD,akc.shx,s=1.1],1.95,-0.5,0.5,-0.5,0.5,-0.5,1

you might want to attach the shape files too Alan

happyunited
19th Jun 2007, 10:48 am
and how would i inset that.lin file into my cad? its 2007

Alan Cullen
19th Jun 2007, 10:51 am
you might want to attach the shape files too Alan

aaaaahhhhhh....good thinking......silly me.......:oops: :lol:

Now.....how do I attach a file ??????

Norts
19th Jun 2007, 10:58 am
and how would i inset that.lin file into my cad? its 2007

you open up notepad (a windows application), then copy and paste the text from Alan's post to the notepad you have open.

save the file as something appropriate, eg drainage.lin into your support path (this is normally C:\Program Files\AutoCAD 2007\support or something similar).
then when Alan uploads his shape files, place these into the same directory.

then go back to autocad, enter Linetype, then press Load button, click on File, navigate to the directory you placed the drainage.lin file into.
then you should be able to load the linetypes from there.

Alan Cullen
19th Jun 2007, 11:02 am
Unzip this file and place the files with your acad.lin file.

Type (findfile "acad.lin") to get the path to your acad.lin file.....then add the code to the end of the file under the ;; User Defined Linetypes section.....

1618

happyunited
19th Jun 2007, 11:03 am
brilliant! thank you. now just waiting on Alan...

what are shapw files?

happyunited
19th Jun 2007, 11:06 am
Unzip this file and place the files with your acad.lin file.

Type (findfile "acad.lin") to get the path to your acad.lin file.....then add the code to the end of the file under the ;; User Defined Linetypes section.....

1618


the last bit has lost me, when i unzip it i get .shp &.shx file what do i do with them? do i still do the other bit with the notepad too?

Alan Cullen
19th Jun 2007, 11:08 am
Shape files define shapes that you have in your line definition code......:)

Norts
19th Jun 2007, 11:11 am
the last bit has lost me, when i unzip it i get .shp &.shx file what do i do with them? do i still do the other bit with the notepad too?

Yes, if you follow the steps i gave, that should get it working.

happyunited
19th Jun 2007, 04:38 pm
ok got these to work thanks for your help. few questions

1) how do i load these so that they come up with every drawing i open or are they drawing related?

2) how do i change the linestyle to say dash dot arrow _____.____>____.____ please?

Ste1978
19th Jun 2007, 04:45 pm
the last bit has lost me, when i unzip it i get .shp &.shx file what do i do with them? do i still do the other bit with the notepad too?

Yes, they are saying you need to copy the shape files into the directory as well.

Alan Cullen
19th Jun 2007, 11:57 pm
ok got these to work thanks for your help. few questions

1) how do i load these so that they come up with every drawing i open or are they drawing related?

2) how do i change the linestyle to say dash dot arrow _____.____>____.____ please?


Q1.....they should be there everytime you open a drawing.....otherwise load them LINETYPE in your drawing template

Q2.....A bit trickier......you'll have to look up help for linetype definitions and creating linetypes....

Norts
20th Jun 2007, 08:59 am
Q2.....A bit trickier......you'll have to look up help for linetype definitions and creating linetypes....

If the version being used is a recent-ish version (2007 or newer) then you can create linetypes by using MKLTYPE from Express Tools