Revit 2025.3 API
Pipe |
Sets the status of given specific angle.
Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void SetSpecificFittingAngleStatus( double angle, bool bStatus )
Public Sub SetSpecificFittingAngleStatus ( angle As Double, bStatus As Boolean )
public: void SetSpecificFittingAngleStatus( double angle, bool bStatus )
member SetSpecificFittingAngleStatus : angle : float * bStatus : bool -> unit
Parameters
- angle Double
- The specific angle (in degree) that must be one of 60, 45, 30, 22.5 or 11.25 degrees.
- bStatus Boolean
- Status, true - using the given angle during the pipe layout.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The given value for angle must be 90, 60, 45, 30, 22.5 or 11.25 degrees. |
| InvalidOperationException | Can not set an angle status for an invalid angle. |
See Also