Civil3D grading with Dynamo

Hi!
I’m looking for a way to automatically generate grading in Civil using Dynamo. I’ve managed to achieve this manually through “Grading creation tools” by picking a feature line and the target surface, as shown in the picture. Is there any function to achieve this in Dynamo? I haven’t been able to find anything.

Thanks in advance!

Hi @erik.e.soderstrom,

Currently there aren’t any nodes for working with grading objects. However, you can achieve similar outcomes by projecting points onto the surface with the desired grade/slope.

Here’s a quick-and-dirty example. It would take much more work to handle all the complexities that grading objects do (e.g., overlapping gradings), but this might be workable for basic scenarios.


3 Likes

I think this would be sufficient for my needs, thanks! :smiley:

Now it’s time to find out if I can manage to make it work with multiple objects :laughing:

I’ve been looking around for Surface.Mesh but can’t manage to find anything. I tried installing MeshToolKit but no luck. Any chance this function has been renamed or added in a later update? I’m currently running Civil 2024 and Dynamo 2.19.

There is no need to use this node, it is only used for a visual in Dynamo.

It is available in Civil 3D 2025, but with the Civil3DToolkit package in Civil 3D 2024, you have a TinSurfaceExtensions.GetMesh node which does probably the same.

1 Like

Thank you!

Would I be correct in assuming this is the only section I’ll be needing for rendering in Civil?

I’m currently trying to select two TIN-Surfaces to create a create a grading in-between, I’m guessing the Object.Geometry function isn’t working for this?

No, the Geometry node does not work on Surfaces. I guess you need (to create) a 3D Polyline which follows one of Surfaces, and then start grading from that.

1 Like