maryan Posted February 25, 2009 Posted February 25, 2009 I'm working in AutoCAD 2005 and last time I have got a question/ask create very strange line (for me it is strange but maybe not for you). The type of line is straight line and above of straight line (depend on length) there should be only one symbol (from shp library) e.g square - like belowe: (start point) -----------------I(only 1 shp)I------------------(end point) As I wrote above. The line should shown straight line (depend of drawing length) and only one symbol (the best from shp library). The best is also if shape seat not exactly on the line but is offseted little bit up. Is it possible to create it using only shapes and line definition? How is it possible to make it by auto lisp? Thank you very much for help Quote
BIGAL Posted February 25, 2009 Posted February 25, 2009 Try this add to acad.lin or save as a custom linetype. *EXISTING_GAS_MAIN2,Existing Gas main2 - - -G- - -G- - -G- - -G- - - A,2.5,-2.5,2.5,-2.5,["G",STANDARD,S=1.8,R=0.0,X=-1.8,Y=-.9],-3 Quote
lpseifert Posted February 25, 2009 Posted February 25, 2009 Here is the linetype definition for a guide rail using a shape named CIRC1 that is defined in the shape file named utility.shx. The shape was created using Express Tools' Mkshape command. *GUIDE_RAIL,___0____0____0____0_____0_____0__ A,0.20,[CIRC1,utility.shx,x=-.1,y=.02,s=.020],0.20 Quote
CarlB Posted February 25, 2009 Posted February 25, 2009 To answer your queston - no, there is not a way for a linetype to include just one shape at the midpoint of the line, no matter its length. Shapes must be at a uniform spacing. You'll need some other way to annotate the line, such as with a block. A lisp routine could facilitate the labeling, placing the mark at line midpoint and desired rotation. Quote
maryan Posted February 28, 2009 Author Posted February 28, 2009 To answer your queston - no, there is not a way for a linetype to include just one shape at the midpoint of the line, no matter its length. Shapes must be at a uniform spacing. You'll need some other way to annotate the line, such as with a block. A lisp routine could facilitate the labeling, placing the mark at line midpoint and desired rotation. Thank you very much. I see that there is impossible. I have try many diffrent way (but always using only the tools for line creating). I am saaaad. Quote
maryan Posted February 28, 2009 Author Posted February 28, 2009 There are not constraints. The one thing is to obtain only one symbol (like shp shape) on the line depend on the length of section. Quote
maryan Posted February 28, 2009 Author Posted February 28, 2009 constraints? There are not constraints. The one thing is to obtain only one symbol (like shp shape) on the line depend on the length of section. - Maryan Quote
maryan Posted February 28, 2009 Author Posted February 28, 2009 Here is the linetype definition for a guide rail using a shape named CIRC1 that is defined in the shape file named utility.shx. The shape was created using Express Tools' Mkshape command. *GUIDE_RAIL,___0____0____0____0_____0_____0__ A,0.20,[CIRC1,utility.shx,x=-.1,y=.02,s=.020],0.20 Thank you very much but it is not what I need. Quote
maryan Posted February 28, 2009 Author Posted February 28, 2009 Try this add to acad.lin or save as a custom linetype. *EXISTING_GAS_MAIN2,Existing Gas main2 - - -G- - -G- - -G- - -G- - - A,2.5,-2.5,2.5,-2.5,["G",STANDARD,S=1.8,R=0.0,X=-1.8,Y=-.9],-3 Thank you. 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.