AdvancedLossFactor Constructor (Double, Double, Double, Double, Double, Double, Double)


Creates an advanced loss factor object with the given 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 AdvancedLossFactor(
	double ballastLossFactorIn,
	double lampLumenDepreciationIn,
	double lampTiltLossFactorIn,
	double luminaireDirtDepreciationIn,
	double surfaceDepreciationLossFactorIn,
	double temperatureLossFactorIn,
	double voltageLossFactorIn
)
Visual Basic
Public Sub New ( _
	ballastLossFactorIn As Double, _
	lampLumenDepreciationIn As Double, _
	lampTiltLossFactorIn As Double, _
	luminaireDirtDepreciationIn As Double, _
	surfaceDepreciationLossFactorIn As Double, _
	temperatureLossFactorIn As Double, _
	voltageLossFactorIn As Double _
)
Visual C++
public:
AdvancedLossFactor(
	double ballastLossFactorIn, 
	double lampLumenDepreciationIn, 
	double lampTiltLossFactorIn, 
	double luminaireDirtDepreciationIn, 
	double surfaceDepreciationLossFactorIn, 
	double temperatureLossFactorIn, 
	double voltageLossFactorIn
)

Parameters

ballastLossFactorIn
Type: SystemDouble
The ballast loss factor as a numerical value between 0.0 and 1.0.
lampLumenDepreciationIn
Type: SystemDouble
The lamp lumen depreciation loss factor as a numerical value between 0.0 and 1.0.
lampTiltLossFactorIn
Type: SystemDouble
The lamp tilt loss factor as a numerical value between 0.0 and 1.0.
luminaireDirtDepreciationIn
Type: SystemDouble
The luminaire dirt depreciation loss factor as a numerical value between 0.0 and 1.0.
surfaceDepreciationLossFactorIn
Type: SystemDouble
The surface depreciation loss factor as a numerical value between 0.0 and 1.0.
temperatureLossFactorIn
Type: SystemDouble
The temperature loss factor as a numerical value between 0.0 and 2.0.
voltageLossFactorIn
Type: SystemDouble
The voltage loss factor as a numerical value between 0.0 and 2.0.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException The loss factor is not valid because it is not between 0.0 and 1.0. -or- The loss factor is not valid because it is not between 0.0 and 2.0.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →