GetFrameAltitude Method


Sun And Shadow Settings Get Frame Altitude Method

Identifies the altitude of the sun (angle in radians) for a specific frame.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public double GetFrameAltitude(
	double frame
)

Parameters

frame Double
Frame for which time is requested

Return Value

Double
Altitude angle (radians)
Exceptions
Exception Condition
ArgumentException the frame value frame is not valid.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →