Dynamo for CV3D - Create pipe network using excel sheet data

Hi there,

I’m working on a Dynamo script to create a pipe network in Civil 3D using data from an Excel sheet (pipe coordinates, pipe sizes, pipe inverts, structures coordinates, structures rims and inverts, etc).

I’ve been following some tutorials and videos online, but I’m running into issues when trying to use PipeNetwork.AddPipeByCurve.

Specifically, I’m having trouble defining the curve input correctly. The script reads coordinates from Excel, and I believe the structures are not being placed properly either — I only get one structure (chamber) appearing in the drawing, even though the data includes several.

Has anyone encountered similar problems with AddPipeByCurve? Any advice on how to correctly define the curve and ensure all structures are placed would be much appreciated.

I’ll share the Dynamo script I’ve been working on, along with a sample of the Excel data. Hopefully that helps clarify what I’m trying to do. Thanks in advance for any help!

Thanks in advance!