Creates a pressure fitting label specified by fitting id and style id.
public 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 )
| Exception | 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. |