GetInapplicableParameters Method


Parameter Filter Utilities Get Inapplicable Parameters Method

Returns the parameters that are not among the set of filterable parameters common to the given categories.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static IList<ElementId> GetInapplicableParameters(
	Document aDoc,
	ICollection<ElementId> categories,
	IList<ElementId> parameters
)

Parameters

aDoc Document
The document containing the categories and parameters to query.
categories ICollection ElementId
The categories that define the set of possibly filterable parameters.
parameters IList ElementId
The parameters desired for use in a parameter filter.

Return Value

IList ElementId
A list of parameters from the given array that are not valid for use in a parameter filter with the given categories.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
See Also