Creates and adds a new appurtenance into the network.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.4.2516.0

Syntax

C#
public ObjectId AddAppurtenance(
	Point3d location,
	PressurePartSize partSize
)
Visual Basic
Public Function AddAppurtenance ( _
	location As Point3d, _
	partSize As PressurePartSize _
) As ObjectId
Visual C++
public:
ObjectId AddAppurtenance(
	Point3d location, 
	PressurePartSize^ partSize
)

Parameters

location
Type: Point3d
The location of the newly added appurtenance.
partSize
Type: Autodesk.Civil.DatabaseServices.Styles..::..PressurePartSize
The catalog part information used to create the appurtenance.

Exceptions

ExceptionCondition
[!:System.ArgumentException] Thrown when the specified part size of not an appurtenance.

See Also