Creating from dynamo geometry

Hi, i am creating dynamo script for creating parametric intersections and i have working alpha version for creating correct geometry for curb returns etc. My problem is when i try to make those geometry lines to alignments. How do i create alignment that has curves? There is node for creating alignment from points, but then it is just lines through those points. I have very limited understanding about python, so i would rather to able to do this without learning python at this time, but if it is necessary, then i can do that too.

I am using Civil 3D 2025.1 version.

Hi @jerkku.h,

Creating an alignment with curves is currently not supported in Dynamo. As you mention, we’ve only included the Alignment.ByPoints node at this time. The reason is because it becomes quite tricky to handle all of the possible tangency constraints when curves are introduced. We’ll get there eventually, we just need time to work through it.

Thank you for quick reply.

Is it still possible to create alignment from polyline with dynamo by using python? I just want to make sure before i use time learn how to do it. Civil3Dtoolkit has that node, but it doesn’t work in 2025.1 civil 3d.

I could just make my geometry to polylines and create alignment from those if that is possible. If not, then i just need manually make alignment from polylines, but that little bit defeats the purpose of using dynamo.

Alignment - From Geometry.dyn (18.3 KB)

@jerkku.h welcome to the community. Give this a try.

@ddrennen2QDK2 With quick testing that seems to work. I need to tweak it little bit for my use, but that is very helpful, thank you. I finally got my parametric intersection tool for “every” situations (at least most common ones). Now the hardest part, clean up the script so it can be maintained :sweat_smile: