SetIgnoredCategoryIds Method


Sets the ElementIds for Category elements which are ignored by route calculation.

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

Syntax

C#
public void SetIgnoredCategoryIds(
	ICollection<ElementId> categoryIds
)
Visual Basic
Public Sub SetIgnoredCategoryIds ( _
	categoryIds As ICollection(Of ElementId) _
)
Visual C++
public:
void SetIgnoredCategoryIds(
	ICollection<ElementId^>^ categoryIds
)

Parameters

categoryIds
Type: System.Collections.GenericICollectionElementId
The ids of Categories to be ignored by route calculation.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException One or more ElementIds in categoryIds are not valid Category element ids.
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null

See Also