FilterElementIdRuleUsesLevelFiltering Method |
This function checks if a parameter uses level filtering.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic static bool UsesLevelFiltering(
Document doc,
ElementId parameterId
)
Public Shared Function UsesLevelFiltering (
doc As Document,
parameterId As ElementId
) As Boolean
public:
static bool UsesLevelFiltering(
Document^ doc,
ElementId^ parameterId
)
static member UsesLevelFiltering :
doc : Document *
parameterId : ElementId -> bool
Parameters
- doc Document
-
The document which owns the parameter.
- parameterId ElementId
-
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.
Exceptions
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.
See Also