PressureFittingLabelCreate Method |
Creates a pressure fitting label specified by fitting id and style id.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
ObjectId fittingId,
ObjectId styleId,
double ratio,
Vector3d direction
)
Public Shared Function Create (
fittingId As ObjectId,
styleId As ObjectId,
ratio As Double,
direction As Vector3d
) As ObjectId
public:
static ObjectId Create(
ObjectId fittingId,
ObjectId styleId,
double ratio,
Vector3d direction
)
Parameters
- fittingId ObjectId
- The fitting id.
- styleId ObjectId
- The style id of the new pressure fitting Label.
- ratio Double
- The relative position of the label to the pressure fitting.
- direction Vector3d
- The direction of the label to the pressure fitting.
Return Value
ObjectId
ExceptionsException | Condition |
---|
[!: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