FilterIntegerRule Constructor


Constructs an instance of FilterIntegerRule.

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

Syntax

C#
public FilterIntegerRule(
	FilterableValueProvider valueProvider,
	FilterNumericRuleEvaluator evaluator,
	int ruleValue
)
Visual Basic
Public Sub New ( _
	valueProvider As FilterableValueProvider, _
	evaluator As FilterNumericRuleEvaluator, _
	ruleValue As Integer _
)
Visual C++
public:
FilterIntegerRule(
	FilterableValueProvider^ valueProvider, 
	FilterNumericRuleEvaluator^ evaluator, 
	int ruleValue
)

Parameters

valueProvider
Type: Autodesk.Revit.DBFilterableValueProvider
A pointer to a "value provider" object that will extract values from a Revit document.
evaluator
Type: Autodesk.Revit.DBFilterNumericRuleEvaluator
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
Type: SystemInt32
The user-supplied value against which values from a Revit document will be tested.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →