Creates a pressure fitting label specified by fitting id and style id.

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

Syntax

C#
public static ObjectId Create(
	ObjectId fittingId,
	ObjectId styleId,
	double ratio,
	Vector3d direction
)
Visual Basic
Public Shared Function Create ( _
	fittingId As ObjectId, _
	styleId As ObjectId, _
	ratio As Double, _
	direction As Vector3d _
) As ObjectId
Visual C++
public:
static ObjectId Create(
	ObjectId fittingId, 
	ObjectId styleId, 
	double ratio, 
	Vector3d direction
)

Parameters

fittingId
Type: ObjectId
The fitting id.
styleId
Type: ObjectId
The style id of the new pressure fitting Label.
ratio
Type: System..::..Double
The relative position of the label to the pressure fitting.
direction
Type: Vector3d
The direction of the label to the pressure fitting.

Exceptions

ExceptionCondition
[!:System.ArgumentException] Thrown when the input string: 1. The fitting id is not exist. 2. The style id is not exist. 3. The ratio is an invalid value.

See Also