Creating Pipe network using Dynamo for Civil 3D

Greetings,

I am able to place structures on alignment with the required intervals using dynamo but unable to draw pipes.
can some once help in this regard, please?