GetIgnoredCategoryIds Method


Returns ElementIds for Category elements which are ignored (not taken into account) route calculation. To enable ignoring of these categories, EnableIgnoredCategoryIds must be set to true. If an ignored category has sub-categories, then the sub-categories will be ignored as well.

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2020

Syntax

C#
public ICollection<ElementId> GetIgnoredCategoryIds()
Visual Basic
Public Function GetIgnoredCategoryIds As ICollection(Of ElementId)
Visual C++
public:
ICollection<ElementId^>^ GetIgnoredCategoryIds()

Return Value

The ids of Categories which are ignored by route calculation. By default, the set contains the Doors Category.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →