FilterElementIdRule
Constructor
Description:
Constructs an instance of FilterElementIdRule.
Constructs an instance of FilterElementIdRule.
Syntax
public FilterElementIdRule(
FilterableValueProvider valueProvider,
FilterNumericRuleEvaluator evaluator,
ElementId ruleValue
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| valueProvider | FilterableValueProvider | A pointer to a "value provider" object that will extract values from a Revit document. |
| evaluator | FilterNumericRuleEvaluator | A pointer to the filter rule evaluator object that implements the desired test. The built-in evaluators implement commonly used tests such as less-than, greater-than less-than-or-equal-to, equal, etc. |
| ruleValue | ElementId | The user-supplied value against which values from a Revit document will be tested. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |