c3d-pipe-networks
Installation
SKILL.md
Civil 3D Pipe Networks
Use this skill when working with gravity or pressure pipe networks - creating networks, pipes, structures, labels, styles, or interference checks.
Accessing Pipe Networks
CivilDocument doc = CivilApplication.ActiveDocument;
// Gravity networks
ObjectIdCollection networkIds = doc.GetPipeNetworkIds();
foreach (ObjectId netId in networkIds)
{
Network network = ts.GetObject(netId, OpenMode.ForRead) as Network;
ed.WriteMessage("Network: {0}\n", network.Name);
}