AllRuleParametersApplicable Method (ElementFilter)


Parameter Filter Element All Rule Parameters Applicable(Element Filter) Method

Checks that the parameters of the rules used by the given ElementFilter are valid for this filter's categories.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool AllRuleParametersApplicable(
	ElementFilter elementFilter
)

Parameters

elementFilter ElementFilter
The ElementFilter containing the rules to check.

Return Value

Boolean
True if all the parameters of the given rules are valid for this filter, otherwise false.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →