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

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