GetValidCategoriesForNumbering Method


Numbering Schema Get Valid Categories For Numbering Method

Gets a list of categories that can be used for a numbering.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public static ICollection<ElementId> GetValidCategoriesForNumbering(
	Document document
)

Parameters

document Document
The document where the elements will be numbered.

Return Value

ICollection ElementId
The IDs of all valid categories.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →