Jump to content

in need of a line type.


devries99

Recommended Posts

I am running autocad LT 2023.   I have 500+ drawings with jhook runs which are a solid line with 5" diameter filled circles/dots spaced 50" apart. Would anybody be willing to make the .lin file and send it to me?  Autocad LT doesn't hae express tools and I have searched hi and lo and cannot figure out a way to do it in Acad LT.

 

Penny

Link to comment
Share on other sites

Something like this, but you need a shx file that has the circle in it, or can use a text with a extended character which is a circle. Replace SWD with O.  I will let you have a go at what the numbers mean that is your 50' check out CAD help linetypes. These are only 4 of about 20 linetypes saved in a file called custom.lin, then LINETYPE Load.

 

*FENCELINE1,Fenceline circle ----0-----0-----0-----0-----0-----0--
A,6.35,-2.54,[CIRC1,ltypeshp.shx,x=-2.54,s=2.54],-2.54,25.4
*FENCELINE2,Fenceline square ----[]-----[]-----[]-----[]-----[]---
A,6.35,-2.54,[BOX,ltypeshp.shx,x=-2.54,s=2.54],-2.54,25.4
*EXISTING_GAS_MAIN,Existing Gas main - - -G- - -G- - -G- - -G- - -
A,5.08,-5.08,5.08,-5.08,["G",STANDARD,S=1.8,R=0.0,X=-1.8,Y=-.9],-3
*STORMWATER_DRAIN,Stormwater Drain ----SWD----SWD----SWD----SWD----SWD----SWD--
A,40,-5.08,["SWD",STANDARD,S=1.8,R=0.0,X=-1.8,Y=-.9],-5.08

 

Edited by BIGAL
Link to comment
Share on other sites

so I have worked with FENCELINE1 for over 6 hours. 

can you break down what each number represents.

I was thinking 6.35 Length of line

-2.54 gap

cirlce

-2.54 is another gap 

 

I tried to copy and rename your FENCELINE1 to JHOOK.  I need the circle to be filled and 5" diameter and the space between them is 50" (4'-2" center to center) 

I bet I changed the numbers 50 times and could not make sense of what number control what.

 

 

 

Link to comment
Share on other sites

Look at stormwater line type, 40 is length -5.08 is a gap, text is SWD, style is standard, S=1.8 is size, R=0 is rotation, the X & Y move the text slightly so it lines up properly with the center of the line. The other value is LTSCALE using properties can set a line type scale so text appears. Or play with numbers.

The linetypes are for metric. Try Arial and lower case o for filled circle, else need a shx object or an extended character.  alt 0149, U +2022. 

 

You might want like s=1 2 ? just draw some text next to a line at 50" spacing and look at size.

Edited by BIGAL
Link to comment
Share on other sites


*STORMWATER_DRAIN,Stormwater Drain ----SWD----SWD----SWD----SWD----SWD----SWD--
A,40,-5.08,["SWD",STANDARD,S=1.8,R=0.0,X=-1.8,Y=-.9],-5.08


*JHOOK3,Penny dot ----0-----0-----0-----0-----0-----0--
A,50,-0.01,[CIRC1,alt 0149,U + 2022],-0.01,0.054

 

*JHOOK4,Penny dot ----0-----0-----0-----0-----0-----0--
A,50,-0.01,[CIRC1,0149,U+2022],-0.01,0.54

 

 

I feel like I'm getting close but I get an error one I try to load the .lin file 

Does alt need to be in there, any spaces???

 

Link to comment
Share on other sites

There is 2 ways for the symbol a text or a shp that can be anything. CIRC1 is inside ltypeshp.shx a library of shp objects, use just "O" for now to get it working. Again just swap out "SWD" with "o" using what I posted and see what you get. 

Edited by BIGAL
Link to comment
Share on other sites

*JHOOK33,dots ----SWD----SWD----SWD----SWD----SWD----SWD--
A,8,-0.01,["o",STANDARD,S=2.5,R=0.0,X=-2.5,Y=-.9]-0.01,-5.08


Now if I could get the circles filled in.

Link to comment
Share on other sites

  • 2 months later...

Hi Pal, insert the unicode reference for the required symbol as I have below. The LT below is similar to the one you require. the "-3.2" is a space the "6.4" is the line length, units are in mm. R,X,Y is text orientation.

 

*FIELDBUS_LT,CAT6 --- * --- * ---
A,6.4,-3.2,["\U+25CF",Standard,S=3,R=0,X=-1.25,Y=-1.25],-3.2

Link to comment
Share on other sites

This is close to what you want but is an open circle need to add a filled in CIRCLE say as CIRC2 to the ltypeshp.shx then you can load line type.

 

*JHOOK,JHOOKS ----O----O----O----O----O----O--
A,50,-5.08,[CIRC1,ltypeshp.shx,S=2.5,R=0.0,X=-2.5,Y=0.0],-5.08

 

Now where is my add shp. 

ltypeshp.shx

Link to comment
Share on other sites

  • 1 month later...

To include solid circles in a linetype reference a font that includes one.

 

If your drawing has an Arial Text Style using the Arial font these linetypes work

*ArialDOT,Dot . . . . . . . . . . . . . . . . . . . . . . . .
A,0,-.125,["\U+2022",Arial,S=.05,Y=-.024],-.125
*ArialDOT2,Dot (.5x) ........................................
A,0,-.0625,["\U+2022",Arial,S=.05,Y=-.012],-.0625
*ArialDOTX2,Dot (2x) .  .  .  .  .  .  .  .  .  .  .  .  .  .
A,0,-.25,["\U+2022",Arial,S=.05,Y=-.048],-.25
 

If your drawing has an WINGDINGS Text Style using the WINGDINGS font these linetypes work

*Big_Dot,Big Dots --- O --- O ---- O --- O --
A,3,-1,["l",WINGDINGS,S=1,Y=-0.45],-2
*Big_D-Dot,Big Dash Dot --- O --- O ---- O --- O --
S,.001,["_",Arial,S=2,X=0.09,Y=0.46],-2.2,["l",WINGDINGS,S=1,Y=-0.45],-3.2,["_",Arial,S=2,X=-1.55,Y=0.46]

Link to comment
Share on other sites

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