Gets the dimmer value for the given light for rendering the given view
Namespace: Autodesk.Revit.DB.Lighting
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public double GetLightDimmer( ElementId viewId, ElementId lightId )
Parameters
Return Value
DoubleExceptions
Exception | Condition |
---|---|
ArgumentException | The given element Id does not correspond to a 3d view -or- The given element Id does not correspond to a light instance |
ArgumentNullException | A non-optional argument was null |