Revit 2025 API
Panel |
Checks if given panel configuration is valid for given panel schedule type.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static bool IsValidPanelConfiguration( PanelScheduleType scheduleType, PanelConfiguration configuration )
Public Shared Function IsValidPanelConfiguration ( scheduleType As PanelScheduleType, configuration As PanelConfiguration ) As Boolean
public: static bool IsValidPanelConfiguration( PanelScheduleType scheduleType, PanelConfiguration configuration )
static member IsValidPanelConfiguration : scheduleType : PanelScheduleType * configuration : PanelConfiguration -> bool
Parameters
- scheduleType PanelScheduleType
- The panel schedule type.
- configuration PanelConfiguration
- The given configuration to check.
Return Value
BooleanTrue if panel schedule template can have a valid configuration assigned, false otherwise.

Exception | Condition |
---|---|
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |

If the panel schedule type is branch panel, the valid panel configurations are:
PanelConfiguration::Enum::OneColumn
PanelConfiguration::Enum::TwoColumnsCircuitsAcross
PanelConfiguration::Enum::TwoColumnsCircuitsDown
If the panel schedule type is switchboard or data panel, the valid panel configuration is:
PanelConfiguration::Enum::OneColumn
See Also