Notifications
Clear all

Ideas on making AutoCAD line style.

8 Posts
5 Users
0 Reactions
4 Views
(@j-penry)
Posts: 1396
Registered
Topic starter
 

I need ideas how to make the line style shown on the map below where the circle is fully enclosed within the line. I can get the line width by the pedit/width command. I thought the circle could be a white donut, but everything plots out black. I'd prefer to have an open circle, but the trim command won't work when the line is wider than the circle. It would probably square off the ends anyway and not wrap around the circle. The line would be plotted in black/white monochrome Any suggestions?

 
Posted : September 30, 2010 12:36 pm
(@tim-reed)
Posts: 104
Registered
 

I don't know if there is a way to make an actual linetype do that but here's a quick & dirty way to perform what you want.

1. Make a block from a circle the size you want. Put a solid hatch in that circle and set it to some color like 255. In your plot style, set the screening of color 255 to 10% or less.
2. Use the "measure" command and select the polyline you're trying to apply this to. Enter the interval length at whatever spacing you want your dots. This will set acad nodes along your line at the specified distance.
3. Copy block made in step 1 to all acad nodes on the polyline.

 
Posted : September 30, 2010 12:47 pm
(@richard-germiller)
Posts: 752
Registered
 

Haven't fooled with making a linetype or style, but the first method I can come up with might be time consuming. Use your wide poly with a solid hatched circle that has a plot color with screening set to 0 or 1 making sure your line is behind the circles. If the circles are a set distance apart you can just make one and use the array command or copy to set at varying intervals like in your example.

I'm sure some else has a more viable solution for you though.

 
Posted : September 30, 2010 12:51 pm
(@david-livingstone)
Posts: 1123
Registered
 

I tried it by putting a text in using the lower case "o", and then using text mask. The problem is the text mask is square, so it looks funny. I don't know if there is a way to make the mask a circle or not.

 
Posted : September 30, 2010 12:51 pm
(@richard-germiller)
Posts: 752
Registered
 

OK wise guy you beat me to it!;-) Next time I'lll walk down to your desk and see if your saying the same thing I'm thinkin'.

 
Posted : September 30, 2010 12:53 pm
(@randy-rain)
Posts: 462
 

> I don't know if there is a way to make an actual linetype do that but here's a quick & dirty way to perform what you want.
>
> 1. Make a block from a circle the size you want. Put a solid hatch in that circle and set it to some color like 255. In your plot style, set the screening of color 255 to 10% or less.
> 2. Use the "measure" command and select the polyline you're trying to apply this to. Enter the interval length at whatever spacing you want your dots. This will set acad nodes along your line at the specified distance.
> 3. Copy block made in step 1 to all acad nodes on the polyline.

Instead of the measure command use divide it will give you either block or node options if you select block it will insert our block at the same points that it would have set nodes at otherwise.

RRain

 
Posted : September 30, 2010 1:08 pm
(@j-penry)
Posts: 1396
Registered
Topic starter
 

Tim,

Your idea worked great. I did 1-percent screening and you cannot tell there was any color in the circle.

Thanks!

 
Posted : September 30, 2010 1:13 pm
(@tim-reed)
Posts: 104
Registered
 

Nice addition Randy.
Glad it worked Jerry.

 
Posted : September 30, 2010 1:57 pm