Constructs a new instance of an ElementParameterFilter from a set of rules.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public ElementParameterFilter( IList<FilterRule> filterRules )
Parameters
- filterRules IList<FilterRule>
- The rules applied to test if the element passes this filter.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The filterRules array is empty or invalid. |
| ArgumentNullException | A non-optional argument was null |
