ParameterFilterUtilities.GetInapplicableParameters
Method
Description:
Returns the parameters that are not among the set of filterable parameters common to the given categories.
Returns the parameters that are not among the set of filterable parameters common to the given categories.
Syntax
public static IList<ElementId> GetInapplicableParameters(
Document aDoc,
ICollection<ElementId> categories,
IList<ElementId> parameters
)
Parameters
Parameter | Type | Description |
---|---|---|
aDoc | Document | The document containing the categories and parameters to query. |
categories | ICollection | The categories that define the set of possibly filterable parameters. |
parameters | IList | The parameters desired for use in a parameter filter. |
Return Value
Type | Description |
---|---|
IList | 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 |