2024 Method
Changes 0
M

ParameterFilterUtilities.GetInapplicableParameters

Description:
Returns the parameters that are not among the set of filterable parameters common to the given categories.
public static IList<ElementId> GetInapplicableParameters(
	Document aDoc,
	ICollection<ElementId> categories,
	IList<ElementId> parameters
)
  • aDoc
    The document containing the categories and parameters to query.
  • ICollection<ElementId>
    categories
    The categories that define the set of possibly filterable parameters.
  • IList<ElementId>
    parameters
    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.