Revit 2026 API
View |
Checks whether a category can be used for a key schedule.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static bool IsValidCategoryForKeySchedule( ElementId categoryId )
Public Shared Function IsValidCategoryForKeySchedule ( categoryId As ElementId ) As Boolean
public: static bool IsValidCategoryForKeySchedule( ElementId^ categoryId )
static member IsValidCategoryForKeySchedule : categoryId : ElementId -> bool
Parameters
- categoryId ElementId
- The category ID to check.
Return Value
BooleanTrue if the category can be used for a key schedule, false otherwise.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also