Checks that an ElementFilter is acceptable for use in defining the filtering rules for a given list of categories (i.e., for view filtering).
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.0.0.405)
Since: 2019
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- aDocument
- Type: Autodesk.Revit.DB Document
The document in which to create the ParameterFilterElement.
- categories
- Type: System.Collections.Generic ISet ElementId
The categories for the new ParameterFilterElement.
- elementFilter
- Type: Autodesk.Revit.DB ElementFilter
The ElementFilter to validate.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was NULL |