Creates and adds a new fitting into the network.

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

Syntax

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

Parameters

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

Exceptions

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

See Also