## Polylines, Alignments, and PI’s

You’ve created an alignment from a polyline, but upon inspection, there are no PI’s (line extensions) at any of the curves.  Why?  And, how can can I get ‘em?  Read on…

Here we have a typical polyline that has been converted to an alignment.  And an alignment created using the layout method.

The alignment created by layout has line extensions (the grey lines going to the Point of Intersections (PI’s), but the other does not.

## Why?

Simply put, the alignment created from the polyline has no PI”s.  Civil 3D creates three types of alignment sub-objects; Lines, Curves, and Spirals, and it’s important to know how these are defined.  When you create an alignment by layout, using the tangent-tangent-with curves tool, the Lines are defined at the blue dimensions.  The lines have been defined all the way to the PI.

An alignment from a polyline has Lines defined like this.  Lines have not been defined to the PI.

## How can we change this?

Those lines must be defined to the PI, period!

1. Copy your polyline on top of itself.
2. Decurve the copied polyline (Fillet command, Radius = 0, Polyline option).  You’ll have two polylines; one original (Black) and one with no curves (Green).

3. Create an alignment from polyline and select the one you just decurved.  Make sure you specify that curves are added.  If all of your radii on the original polyline are the same, you might as well input that number, otherwise don’t worry about it too much.
4. Set your running OSNAP to “nea” and use the pass-through grip to adjust all of the new alignment curves (Green)  to match the original (Black).

You now have an alignment whose geometry is identical to the defining polyline AND that has PI’s and normal PI-type grip behaviour.

## What if I have already defined the alignment and want to change it after?

No problem!

1. Offset the alignment to one side and then back again so you have a polyline on top of your alignment.
2. Decurve that polyline using the Fillet command as mentioned above.
3. Grip-edit the alignment line end points and move them to the PI points.
4. Done.

Enjoy,
Matt Kolberg

1. Dave Drahn says:

I’m not experience with building alignments with much complexity, but this seems like it will not work if your alignment is made up of compound curves. You’ll have to have straight segments between each or manually build out your PI’s. Which for me brings up questions that may not be appropriate here (but I’ll ask anyway…)

How would I duplicate a polyline alignment that has no straight segments, just curves from beginning to end. Or, how would I even create one in C3D? It seems that it needs to have straight segements at least at one end.

• Matt Kolberg says:

To create an alignment containing only curves could be done with consecutive floating curves, among other techniques. Easy, depending on the design criteria.

• Dave Drahn says:

hm. Thanks, Matt. I have to do that every now and then and always end up just “making it from the poly and be[ing] done with it”, like you say. Unfortunately, it leaves me with little control for modification when needed. thanks again. I’ll look in to floating curves a little more.

2. Joe Bouza says:

Good one Dave, really thinking out of the box.

Joe

3. Matt Kolberg says:

I just wouldn’t bother doing any conversion. Just make the alignment from that polyline and be done with it. Explaining how to do this with the Civil 3D tools is beyond the scope of this reply. Maybe I’ll write about it. Until then you may be able to find out how in the c3d discussion group.