Revit 2025 API
Route |
Sets the ElementIds for Category elements which are ignored by route calculation.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetIgnoredCategoryIds( ICollection<ElementId> categoryIds )
Public Sub SetIgnoredCategoryIds ( categoryIds As ICollection(Of ElementId) )
public: void SetIgnoredCategoryIds( ICollection<ElementId^>^ categoryIds )
member SetIgnoredCategoryIds : categoryIds : ICollection<ElementId> -> unit
Parameters
- categoryIds ICollectionElementId
- The ids of Categories to be ignored by route calculation.
| Exception | Condition |
|---|---|
| ArgumentException | One or more ElementIds in categoryIds are not valid Category element ids. |
| ArgumentNullException | A non-optional argument was null |
See Also