Checks if given panel configuration is valid for given panel schedule type.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static bool IsValidPanelConfiguration( PanelScheduleType scheduleType, PanelConfiguration configuration )
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.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
