GetAssignedElectricalSystems Method


MEPModel Get Assigned Electrical Systems Method

Retrieves the electrical systems this electrical panel currently is assigned to.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public ISet<ElectricalSystem> GetAssignedElectricalSystems()

Return Value

ISet ElectricalSystem
Remarks
This property returns a set of Electrical Systems. If there are no electrical systems created for this model, this property will be an empty set. This method supersedes an older AssignedElectricalSystems property which has been deprecated.
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 →