Revit 2025.3 API
Sun |
Identifies the altitude of the sun (angle in radians) for a specific frame.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public double GetFrameAltitude( double frame )
Public Function GetFrameAltitude ( frame As Double ) As Double
public: double GetFrameAltitude( double frame )
member GetFrameAltitude : frame : float -> float
Parameters
- frame Double
- Frame for which time is requested
Return Value
DoubleAltitude angle (radians)

Exception | Condition |
---|---|
ArgumentException | the frame value frame is not valid. |
See Also