Creates a new instance of PressurePipeLabel on a specified pressure pipe with the specified label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.4.2516.0
Syntax
| C# |
|---|
public static ObjectId Create(
ObjectId pipeId,
double ratio,
ObjectId labelStyleId
) |
| Visual Basic |
|---|
Public Shared Function Create ( _
pipeId As ObjectId, _
ratio As Double, _
labelStyleId As ObjectId _
) As ObjectId |
| Visual C++ |
|---|
public:
static ObjectId Create(
ObjectId pipeId,
double ratio,
ObjectId labelStyleId
) |
Parameters
- pipeId
- Type: ObjectId
The ObjectId of pressue pipe on which the label is located.
- ratio
- Type: System..::..Double
The relative position of the label to the pressure pipe.
- labelStyleId
- Type: ObjectId
The ObjectId of a PressurePipeLabel style to use.
Exceptions
| Exception | Condition |
|---|
| System..::..ArgumentException |
Thrown when:
- The pipeId or labelStyleId is invalid.
|
See Also