arman88 Posted February 17, 2008 Posted February 17, 2008 I'm trying to create a linetpye .The line needs to be continuous with a solid(not hollow) circles at distances.This would be the same as FENCELINE1: *FENCELINE1,Fenceline circle ----0-----0----0-----0----0-----0-- A,.25,-.1,[CIRC1,ltypeshp.shx,x=-.1,s=.1 ],-.1,1 but with filled-in circles.for example circles should be hatched or colored. An image of desired linetype is attached. Any help would be great.Thanks in advance. Quote
lpseifert Posted February 17, 2008 Posted February 17, 2008 Shapes can't have a solid fill/hatch. You can simulate the fill with closely spaced lines. Or use text instead of a shape; e.g. use the font file Arial with the character \U+25CF Quote
arman88 Posted February 19, 2008 Author Posted February 19, 2008 Thanks a lot for your concern I could do this by drawing several circles with same center near each other, which resemble a filled circle as you said.Then I made a shape file of these using the menu Express>Tools>Make Shape , which gives *.shp and *.shx file.I called this file in a *.lin file and it worked I don't know enough to perform what you said about using fonts, cause I am not that familiar and I've not worked with fonts. Anyway it solved :D8) Quote
ChrisCMU Posted October 8, 2009 Posted October 8, 2009 Shapes can't have a solid fill/hatch. You can simulate the fill with closely spaced lines.Or use text instead of a shape; e.g. use the font file Arial with the character \U+25CF That doesn't seem to work. If I have this in my linetype file: *telephone,----O----O---- A,200,-0,["\U+25CF",Arial,S=0.20,R=0.0,X=-0.1,Y=4],200,["\U+25CF",Arial,S=0.20,R=0.0,X=-0.1,Y=-12] The result is: Quote
alanjt Posted October 8, 2009 Posted October 8, 2009 Try this (uses Arial font): ;*PROP-FENCE-CL,----0-----0----0-----0----0-----0- ;A,.476777,["\U+25CF",LT-P,y=-.0275,s=.06],.00197,-.037923 Quote
ChrisCMU Posted October 8, 2009 Posted October 8, 2009 That gives me an error trying to load the linetype file: "Bad definition of PROP-FENCE-CL at line 142" (the second line from your code) Quote
alanjt Posted October 8, 2009 Posted October 8, 2009 That gives me an error trying to load the linetype file: "Bad definition of PROP-FENCE-CL at line 142" (the second line from your code) Because the textstyle doesn't exist. It's just a textstyle with Arial font. Just replace "LT-P" with "Arial". Quote
ChrisCMU Posted October 8, 2009 Posted October 8, 2009 so do I need to create a text style called LT-P with Arial as the font? Quote
alanjt Posted October 8, 2009 Posted October 8, 2009 so do I need to create a text style called LT-P with Arial as the font? or just replace it with Arial. ;*PROP-FENCE-CL,----0-----0----0-----0----0-----0- ;A,.476777,["\U+25CF",ARIAL,y=-.0275,s=.06],.00197,-.037923 Quote
rkmcswain Posted October 8, 2009 Posted October 8, 2009 You can make all sorts of "text-based" linetypes with the various shapes that are in wingdings.ttf, webdings.ttf, etc. Here are a couple... Quote
ChrisCMU Posted October 8, 2009 Posted October 8, 2009 I'm having trouble with the ends of the lines. Here is my linetype code: *POWER,----0----0----0----0----0----0----A,620,-200,620,-200,620,-200,["\U+25CF",ARIAL,x=175,y=-14,s=.7],-.001 And here is the result: It is supposed to place a dot every third dash, which it does...but the ends are not right. (BTW, this is a 1 mile by 1 mile geographic section for scaling purposes). I see I need to tweak the offset slightly as it is not centered perfectly, but don't worry about that. Quote
ChrisCMU Posted October 13, 2009 Posted October 13, 2009 Also, my ltscale must be set to 1980, which is why the numbers are so big in the linetype. Quote
xray Posted October 27, 2010 Posted October 27, 2010 Ok, so i am pulling my hair out trying to make this linetype as a Handrail or fence too. But I am getting numerous comments to make it start and stop with the circle. Is it possible to have the shape start and stop? We are obvously using this... A,.25,-.1,[CIRC1,ltypeshp.shx,x=-.1,s=.1],-.1,1 Any comments would be appreciated Quote
lpseifert Posted October 27, 2010 Posted October 27, 2010 But I am getting numerous comments to make it start and stop with the circle. Is it possible to have the shape start and stop? Nope, Autocad linetype definitions don't support that. Quote
pradeep1234 Posted August 3, 2012 Posted August 3, 2012 hi, can any tell me how to create line type circle, long dash space circle long dash space circle long dash. --- O --- O --- O -- like this. please help me out. Quote
ReMark Posted August 3, 2012 Posted August 3, 2012 Since you have full AutoCAD one option you can use utilizes two tools found in Express Tools. They are Make Shape (MKSHAPE) and Make Linetype (MKLTYPE). Directions for using the commands can be found in the Express Tools FAQ under Contents > Categories > Tools. Another option would be to take an existing linetype definition that uses a letter and substitute an "O" for it. You would also have to tweak the parameters for the length of the lines and the gap distances. Quote
dmzubairkhan Posted December 17, 2013 Posted December 17, 2013 i have created a line type and line shape in cad but that same line type and line shape.If i take that same DWG file to another pc that same line type and line shape will not come it will come in dot dot line i want to know how to make that line shape and line type as a cad default line. Quote
ReMark Posted December 17, 2013 Posted December 17, 2013 Did you copy over the both the new linetype along with the shape file to the other computer? 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.