2024 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
)
Return Value bool True if the parameter uses level filtering, false otherwise.