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: 2015.0.0.0 (2015.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

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException When setting this property: The value is invalid. The valid range is 0 through 100
Autodesk.Revit.Exceptions InvalidOperationException When setting this property: This view does not contain display-related properties.

See Also