GetFrameAltitude Method


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

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2011

Syntax

C#
public double GetFrameAltitude(
	double frame
)
Visual Basic
Public Function GetFrameAltitude ( _
	frame As Double _
) As Double
Visual C++
public:
double GetFrameAltitude(
	double frame
)

Parameters

frame
Type: SystemDouble
Frame for which time is requested

Return Value

Altitude angle (radians)

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException the frame value frame is not valid.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →