Extend selected polyline for Alignment creation

Good day

I am trying to automate the creation of alignments and profile views. This is specifically for road culverts; thus, they are all a single lines and a not a “network” with direction changes.

The problem is I want the alignment to extend upstream and downstream of the culvert’s start and end. I currently have polylines that extends the culvert length. I use the “curve.extendStart” and “curve.extendEnd” function to lengthen the selected polylines, but this action then converts the polyline into a curve, and I can’t find a way to convert it back into a polyline to feed into the “AlignmentExtension.CreateAlignmentByPolyline”


STW_CreateAlign_test.dyn (84.7 KB)

Hi @karien.vanheerdenCX6,
welcome to the community. Try this:

1 Like

Thanks…Drbohlav - that does the trick

1 Like