Import gravity network into Civil 3d

Hi @alvaro.a,

You will need to get the Civil 3D Toolkit package to do this. Here are some sample scripts to help get you started. You’ll need to change around some of the inputs from what I have here to better match your situation. A few notes:

  • I’ve split this up into two scripts to make it easier to manage. You could definitely combine it into a single script if you wanted.
  • Your Excel data does not include elevation values for the structures, so that is not included in this script. You’d need to add some more nodes to adjust the rim elevations to a surface if that is the route you want to go.
  • I have a lot of List.Clean nodes in here because there are several blank values in the Excel sheet. It might be worth your time to clean those up on the Excel side first.

Hope it helps!

AddStructures.dyn (75.7 KB)
AddPipes.dyn (146.1 KB)

8 Likes