Jump to content

Customize Line Style


Recommended Posts

Posted

Dear Friend;

 

Is there any body to help and give me code for creating of below line type in AUTOCAD:

FFline.jpg

 

It is very needed.

 

Tanx in Advanced

Posted

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

Posted

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:

warning.jpg

 

Would you please address the concern.

 

Best Regards

Posted

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.

j1.JPG

Posted

Dear Friend;

 

I followed ur instructions, it was Ok.

But the result is defferent:

 

result.jpg

 

Please kindly help to solve my concern.

It would be appreciated if i have your Email to send DWG file to you.

 

Best Regards

Posted

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?

Posted

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.

Posted

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

Posted

Really? I was able to create a shape file of a "donut". That's considered a solid fill isn't it?

Posted

I thought that a Donut was a polyline with width. When you explode it, there is a polyline left in the middle.

Posted

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:

result.jpg

 

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

Posted

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 :

result.jpg

 

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

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