Structures represent physical objects such as manholes, catch basins, and headwalls. Logically, structures are used as connections between pipes at pipe endpoints. In cases where two pipes connect directly, an Structure object not representing any physical object is still created to serve as the joint. Any number of pipes can connect with a structure. Structures are represented by objects of type Structure, which are created by using the AddStructure() method of Network.
See the code sample in Creating a Pipe Network for an example of how to call this method.