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