Creates and adds a new fitting into the network.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.8.0.280
Syntax
C#
public ObjectId AddFitting( Point3d location, PressurePartSize partSize )
VB
Public Function AddFitting ( location As Point3d, partSize As PressurePartSize ) As ObjectId
C++
public: ObjectId AddFitting( Point3d location, PressurePartSize^ partSize )
Parameters
- location Point3d
- The location of the newly added fitting.
- partSize PressurePartSize
- The catalog part information used to create the fitting.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
[!:System.ArgumentException] | Thrown when the specified part size of not a fitting. |