Creates a new instance of a PipeLabel on the specified Pipe using the default label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public static ObjectId Create( ObjectId pipeId, double ratio )
Visual Basic
Public Shared Function Create ( _ pipeId As ObjectId, _ ratio As Double _ ) As ObjectId
Visual C++
public: static ObjectId Create( ObjectId pipeId, double ratio )
Parameters
- pipeId
- Type: ObjectId
The ObjectId of Pipe on which the label is located.
- ratio
- Type: System.Double
The relative position of the label to the pipe.
Remarks
The ratio should be in the range [0, 1].
Exceptions
Exception | Condition |
---|---|
System.ArgumentException |
Thrown when:
|