Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Double Linetype

8 REPLIES 8
Reply
Message 1 of 9
dlinford
4535 Views, 8 Replies

Double Linetype

I need a single line to show up as a double line for Striping on Road Striping Plans. I actually need several types. Solid Double Lines, Dashed Double Lines and 1 line solid and the other line dashed in a double line.

I could do it with Multilines, except I haven't found a way to make curves or arcs with Multilines.

Another possible solution is with Linetypes but I haven't found a way to do that.

Any ideas? Is there a 3rd possibility I haven't thought about that I could explore.

Thanks,
David Edited by: dlinford on May 11, 2010 1:26 PM
8 REPLIES 8
Message 2 of 9
Anonymous
in reply to: dlinford

On 5/11/2010 2:26 PM, dlinford wrote:
> I need a single line to show up as a double line for Striping on Road Striping Plans. I actually need several types. Solid Double Lines, Dashed Double Lines and 1 line solid and the other line dashed in a double line.
>
> I could do it with Multilines, except I haven't found a way to make curves or arcs with Multilines.
>
> Another possible solution is with Linetypes but I haven't found a way to do that.
>
> Any ideas? Is there a 3rd possibility I haven't thought about that I could explore.
>
> Thanks,
> David
>
> Edited by: dlinford on May 11, 2010 1:26 PM

No problem making double, double slashes and double with long and
slashes . . . BUT, they cannot be curved - only straight.
Message 3 of 9
Anonymous
in reply to: dlinford

On 5/11/2010 3:26 PM, dlinford wrote:
> I need a single line to show up as a double line for Striping on Road Striping Plans. I actually need several types. Solid Double Lines, Dashed Double Lines and 1 line solid and the other line dashed in a double line.
>

Use wide polylines and set FILLMODE to 0? This will make all other wide
polylines and TrueType fonts plot in outline mode, however, so use with
caution.
Message 4 of 9
Anonymous
in reply to: dlinford

Possible 3rd option: If you are willing to venture into dotnet and have
AutoCAD 2010 or later, you might be able to accomplish what you want with
the Overrule API. Stephen Preson gave a class on customizing entity
behavior (CP9310) If you are a subscriber, you can get access to the
handouts. I can't show you how to do it but you might ask on the dotnet
newsgroup.


wrote in message news:6389467@discussion.autodesk.com...
I need a single line to show up as a double line for Striping on Road
Striping Plans. I actually need several types. Solid Double Lines, Dashed
Double Lines and 1 line solid and the other line dashed in a double line.

I could do it with Multilines, except I haven't found a way to make curves
or arcs with Multilines.

Another possible solution is with Linetypes but I haven't found a way to do
that.

Any ideas? Is there a 3rd possibility I haven't thought about that I could
explore.

Thanks,
David

Edited by: dlinford on May 11, 2010 1:26 PM
Message 5 of 9
Anonymous
in reply to: dlinford

On 5/11/2010 4:13 PM, Bill Gilliss wrote:
> On 5/11/2010 3:26 PM, dlinford wrote:
>> I need a single line to show up as a double line for Striping on Road Striping Plans. I actually need several types. Solid Double Lines, Dashed Double Lines and 1 line solid and the other line dashed in a double line.
>>
>
> Use wide polylines and set FILLMODE to 0? This will make all other wide
> polylines and TrueType fonts plot in outline mode, however, so use with
> caution.

How would this help? I think he wants to have a linetype that will
emulate the division lines on roads/highways. An open polyline will not
be solid.
Message 6 of 9
Anonymous
in reply to: dlinford

On 5/11/2010 8:04 PM, None wrote:
> How would this help? I think he wants to have a linetype that will
> emulate the division lines on roads/highways. An open polyline will not
> be solid.
>

You're right. What *was* I thinking?

The major problem seems to be, using two offset dashed polylines, for
instance, that the dashes will not stay in sync as they go around
curves. Ugly.

Maybe use a 12" wide dashed polyline in a color that plots black, and on
top of it place an otherwise identical polyline, but 4" wide and
continuous, in a color that plots white, set to front with Draworder.
The attached image shows the intent.
Message 7 of 9
Anonymous
in reply to: dlinford

I have created linetypes similiar to what you are talking about but with rpms (reflectors) in between the striping dashes. You can't get one linetype be two lines especially if you want one solid and one dashed. One thing you will have to think about is the drawing scale of the linetypes you will be using them in if you want exact spacing in between the striping dashes. I created linetypes for two scales: 20 and 40 scale, so I can control that spacing. If you create just one linetype and use it with different drawing scales, it will not look good unless you don't care how it looks at those different scales.
Message 8 of 9
Anonymous
in reply to: dlinford

On 5/11/2010 7:24 PM, Bill Gilliss wrote:
> On 5/11/2010 8:04 PM, None wrote:
>> How would this help? I think he wants to have a linetype that will
>> emulate the division lines on roads/highways. An open polyline will not
>> be solid.
>>
>
> You're right. What *was* I thinking?
>
> The major problem seems to be, using two offset dashed polylines, for
> instance, that the dashes will not stay in sync as they go around
> curves. Ugly.
>
> Maybe use a 12" wide dashed polyline in a color that plots black, and on
> top of it place an otherwise identical polyline, but 4" wide and
> continuous, in a color that plots white, set to front with Draworder.
> The attached image shows the intent.

That appears to solve part of the problem. Not sure how one would go
about making a linetype of that and then there's the problem of having
one solid line and on the opposite side, a dashed line. Also, as I see
it from my back yard (and NO, I'm not going out to measure anything) the
one line down the center of the street at the end of our house appears
to be 8 feet long with a spacing of 16 feet between lines. And, they are
yellow. Too much to get into - I think.
Message 9 of 9
Kent1Cooper
in reply to: dlinford

Those are reasonably surmountable problems....

On the one-solid-and-one-dashed option, they could be two separate Polylines, one continuous and one offset from it with the striping linetype, because there isn't the problem of the synchronizing of the dashes between the two of them. There would still be two Polylines involved, as in Bill's suggestion, but both visible.

On the making of the linetype and the relative lengths of the dashes and the gaps, that's easy enough to handle with the on and off parts of the linetype definition, though of course Bill's approach couldn't be done in *one* linetype. His image is probably just from one of the Dashed or Hidden families, but the principle would work for something with appropriately different dash and gap sizes.

Another possibility is shown in the attached drawing. It's drawn with Blocks, but would be done with Shapes and a complex linetype incorporating them. The curves are slightly kinked [made up of short straight segments] if you zoom in far enough, but would probably look fine at plotted scales, and road striping would probably never have a tight-enough radius that it would be obvious. But you'd need to be careful about the ends, since any length overage would show as a continuous line down the center.

And there's a limit to the number of element definitions in a complex linetype, so you might need to lengthen the shape to get the right road-stripe dash length [I have no idea what standards there may be]. For the one-side-continuous option, you'd need two different shapes, one for the double-line segments and one for where the gaps are in one side. And they'd probably need to be even longer to get the whole sequence into the linetype-definition-elements limit.

But at least it would be *one* Polyline instead of two, so it wouldn't be as complicated to adjust its path, you wouldn't need to worry about draw order, etc.

--
Kent Cooper


None wrote...
....Not sure how one would go about making a linetype of that and then there's the problem of having one solid line and on the opposite side, a dashed line. Also, as I see it from my back yard (and NO, I'm not going out to measure anything) the one line down the center of the street at the end of our house appears to be 8 feet long with a spacing of 16 feet between lines. ....
Kent Cooper, AIA

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost