InitialIlluminanceIntensity Constructor (Double, Double)


Creates an initial illuminance intensity object with the given document and illuminance values.

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

Syntax

C#
public InitialIlluminanceIntensity(
	double distance,
	double illuminance
)
Visual Basic
Public Sub New ( _
	distance As Double, _
	illuminance As Double _
)
Visual C++
public:
InitialIlluminanceIntensity(
	double distance, 
	double illuminance
)

Parameters

distance
Type: SystemDouble
The illuminance distance value in feet as a numerical value between 0 and 1e+30.
illuminance
Type: SystemDouble
The illuminance value in lx as a numerical value between 0 and 1e+30.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException The distance value is not valid because it is not between 0 and 1e+30. -or- The illuminance value is not valid because it is not between 0 and 1e+30.

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 →