PressurePipeLabelCreate Method

Creates a new instance of PressurePipeLabel on a specified pressure pipe with the specified label style.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.8.0.292
Syntax
public static ObjectId Create(
	ObjectId pipeId,
	double ratio,
	ObjectId labelStyleId
)

Parameters

pipeId  ObjectId
The ObjectId of pressue pipe on which the label is located.
ratio  Double
The relative position of the label to the pressure pipe.
labelStyleId  ObjectId
The ObjectId of a PressurePipeLabel style to use.

Return Value

ObjectId
Exceptions
ExceptionCondition
ArgumentException Thrown when:
  • The pipeId or labelStyleId is invalid.
See Also