Creates and adds a new fitting into the network.
public ObjectId AddFitting( Point3d location, PressurePartSize partSize )
Public Function AddFitting ( location As Point3d, partSize As PressurePartSize ) As ObjectId
public: ObjectId AddFitting( Point3d location, PressurePartSize^ partSize )
| Exception | Condition |
|---|---|
| [!:System.ArgumentException] | Thrown when the specified part size of not a fitting. |