Revit 2026 API
Light |
Creates a light group manager object from the given document
Namespace: Autodesk.Revit.DB.Lighting
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static LightGroupManager GetLightGroupManager( Document document )
Public Shared Function GetLightGroupManager ( document As Document ) As LightGroupManager
public: static LightGroupManager^ GetLightGroupManager( Document^ document )
static member GetLightGroupManager : document : Document -> LightGroupManager
Parameters
- document Document
- The document the manager is from
Return Value
LightGroupManagerThe newly created Light group manager object
| Exception | Condition |
|---|---|
| ArgumentException | The document is not valid because it is not a project (rvt) document |
| ArgumentNullException | A non-optional argument was null |
See Also