InitialWattageIntensity Constructor (Double, Double)


Creates an initial wattage intensity object with the given values.

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

Syntax

C#
public InitialWattageIntensity(
	double efficacy,
	double wattage
)
Visual Basic
Public Sub New ( _
	efficacy As Double, _
	wattage As Double _
)
Visual C++
public:
InitialWattageIntensity(
	double efficacy, 
	double wattage
)

Parameters

efficacy
Type: System Double
The universal unit efficacy value as a numerical value between 0 and 1e+30.
wattage
Type: System Double
The universal unit wattage value as a numerical value between 0 and 1e+30.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException The efficacy value is not valid because it is not between 0 and 1e+30. -or- The wattage 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 →