ElectricalSystem.SelectPanel
Method
Description:
Set the panel for the Electrical System.
Set the panel for the Electrical System.
Remarks:
If successful, the panel will be set for the system. Otherwise the exception will be thrown. This method will only function with the Autodesk Revit MEP application.
If successful, the panel will be set for the system. Otherwise the exception will be thrown. This method will only function with the Autodesk Revit MEP application.
Parameters
Parameter | Type | Description |
---|---|---|
panel | FamilyInstance | The panel of the electrical system. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | The panel does not have enough slots and Feed Through Lugs is unchecked or already in use. -or- Thrown when the panel cannot be set for the electrical system. |