2025 Method
Changes 2
M

FilterElementIdRule.UsesLevelFiltering

Description:
This function checks if a parameter uses level filtering.
Remarks:
When level-filtering parameters are compared, the comparisons will first compare the values of the levels' elevations, then compare the levels' names, and finally the levels' element ids to rank and sort the levels.
public static bool UsesLevelFiltering(
	Document doc,
	ElementId parameterId
)
  • doc
    The document which owns the parameter.
  • parameterId
    The id of the parameter that will be tested to see if it uses level filtering.
Return Value Boolean True if the parameter uses level filtering, false otherwise.