SunlightIntensity Property


The intensity of the simulated (directional) sunlight. 0 = no directional light; maximum value is 100.

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

Syntax

C#
public int SunlightIntensity { get; set; }
Visual Basic
Public Property SunlightIntensity As Integer
	Get
	Set
Visual C++
public:
property int SunlightIntensity {
	int get ();
	void set (int value);
}

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException When setting this property: The value is invalid. The valid range is 0 through 100
Autodesk.Revit.ExceptionsInvalidOperationException When setting this property: This view does not contain display-related properties.

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 →