Checks if given type is valid for this panel schedule template element.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public static bool IsValidType( PanelScheduleType panelScheduleType )
Parameters
- panelScheduleType PanelScheduleType
- The given type to check.
Return Value
BooleanTrue if panel schedule template can have a type assigned and this type is valid for this element, false otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |