Retrieve all existing filters rules

Are there any ways to get the name, parameter setting, rules of the ParameterFilterElement (view filter)?

View.FilterOverrides has the graphic overrides and Element.Name should get you the name, but it might be easier to get all the specifics through the API.

Hi @Annie1… which package are FlterGetRule from…@Nick_Boyts…dont think filteroverrides name is the question

Edit: Misread your response the first time.

They mention Name, Settings, and Rules. Name I can only assume means the name of the filter, FilterOverrides was my best guess for “parameter settings”, and they already have the RuleTypes. There are only a few nodes for FilterElements. Most information has to be pulled from the API.

2 Likes

Element.Name gets you the name of almost anything in revit. :slight_smile: