Revit 2025 API
Duct |
Sets the status of given specific angle.
Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetSpecificFittingAngleStatus( double angle, bool useInLayout )
Public Sub SetSpecificFittingAngleStatus ( angle As Double, useInLayout As Boolean )
public: void SetSpecificFittingAngleStatus( double angle, bool useInLayout )
member SetSpecificFittingAngleStatus : angle : float * useInLayout : bool -> unit
Parameters
| 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