saiedmehdipour Posted September 24, 2010 Share Posted September 24, 2010 Dear Friend; Is there any body to help and give me code for creating of below line type in AUTOCAD: It is very needed. Tanx in Advanced Quote Link to comment Share on other sites More sharing options...
lpseifert Posted September 24, 2010 Share Posted September 24, 2010 Here's one way... you need to have a text style name Arial that uses the font file Arial.ttf *GUIDE_RAIL_2,___0____0____0____0_____0_____0__ A,0.20,["\U+25CF",arial,x=-.1,y=.02,s=.1],0.20 Quote Link to comment Share on other sites More sharing options...
saiedmehdipour Posted September 24, 2010 Author Share Posted September 24, 2010 Dear Friend; Tanx So Much for a favor that you've done, but i've got Arial.ttf file in my PC, so i copied above mentioned code in acad.lin thus when i wanted to load it in line style i'm facing below warning: Would you please address the concern. Best Regards Quote Link to comment Share on other sites More sharing options...
lpseifert Posted September 24, 2010 Share Posted September 24, 2010 You need to make a Text style named Arial using the Style command. Having the font file Arial.ttf on your computer isn't enough. Quote Link to comment Share on other sites More sharing options...
saiedmehdipour Posted September 24, 2010 Author Share Posted September 24, 2010 Dear Friend; I followed ur instructions, it was Ok. But the result is defferent: Please kindly help to solve my concern. It would be appreciated if i have your Email to send DWG file to you. Best Regards Quote Link to comment Share on other sites More sharing options...
lpseifert Posted September 24, 2010 Share Posted September 24, 2010 Play with the linetype definition parameters (x, y, scale), maybe use your 'hollow' linetype as a guide; you'll figure it out. By the way, welcome to CadTutor, where are you from? Quote Link to comment Share on other sites More sharing options...
ReMark Posted September 24, 2010 Share Posted September 24, 2010 You can create the linetype you want using two tools you'll find in your Express Tools under the section called Tools. They are MKLTYPE and MKSHAPE. First you must create the shape that is your filled circle (use the Donut command). I've created a similar linetype for denoting DCS connections on a process piping and instrumentation diagram but I used an open circle. Quote Link to comment Share on other sites More sharing options...
lpseifert Posted September 25, 2010 Share Posted September 25, 2010 if you're going to play around with shapes you might want to make the 'solid' with a closely spaced hatch and then explode it since shapes won't allow hatches or solid fills Quote Link to comment Share on other sites More sharing options...
ReMark Posted September 25, 2010 Share Posted September 25, 2010 Really? I was able to create a shape file of a "donut". That's considered a solid fill isn't it? Quote Link to comment Share on other sites More sharing options...
eldon Posted September 25, 2010 Share Posted September 25, 2010 I thought that a Donut was a polyline with width. When you explode it, there is a polyline left in the middle. Quote Link to comment Share on other sites More sharing options...
saiedmehdipour Posted September 25, 2010 Author Share Posted September 25, 2010 Dear Frinds; Tanx so much again, i changed some parameter of above code such as below: *GUIDE_RAIL_2,___0____0____0____0_____0_____0__ A,0.50,["\U+25CF",arial,x=-.1,y=-.125,s=.34],0.20 so the result is: if u attention it is a continious line with filled circule, but i need line with dash and filled circule, can u help me change the code to create it? B.W Quote Link to comment Share on other sites More sharing options...
saiedmehdipour Posted September 25, 2010 Author Share Posted September 25, 2010 Dear Friends Tanx so much again, i changed some parameters of above code as below: *GUIDE_RAIL_2,___0____0____0____0_____0_____0__ A,0.50,["\U+25CF",arial,x=-.1,y=-.125,s=.34],0.20 the result became : if u attaention it is a continious line with filled circule, but i need DASH with filled circle; Can u help to modifying of code to grant object. B.W Quote Link to comment Share on other sites More sharing options...
Tankman Posted September 26, 2010 Share Posted September 26, 2010 Try ltfly! :wink: LTFly Instructions.zip Quote Link to comment Share on other sites More sharing options...
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.