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