Replace the current LightDistribution object with the given object
Namespace: Autodesk.Revit.DB.Lighting
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public void SetLightDistribution( LightDistribution lightDistribution )
Parameters
- lightDistribution LightDistribution
- An instance of an object derived from LightDistribution
Exceptions
Exception | Condition |
---|---|
ArgumentException | The LightDistribution is the argument that is being validated The LightDistribution is not valid because it of a different derived type than the current LightDistribution derived type. |
ArgumentNullException | A non-optional argument was null |