Create filterRule to filter sections by sheet number

I’m trying to create rule-based filters that would hide all sections not placed on a specific sheet.

I have created an elementary graph with OOTB nodes only, performing roughly the following routine:

  1. Collect all views in project (the sample project contains two sections only, each assigned to a different sheet, so no furher processing is needed)
  2. Collect the parameter Sheet Number for each view and create a FilterRule of type NotEqual based on the parameter value.
  3. Create a ParameterFilterElement for each rule for the category Sections.

At step 3, I get a warning and nothing happens

The sample project contains one manually created filter which works as desired. Is it possible to create such a filter with OOTB nodes or with the API?
sheetNumberFilter_BySections.dyn (39.1 KB)
testModel_SectionFilters.rvt (432 KB)

Ive got the same problem. Any infos about this?

Well, it’s been a while. I had to write some Python, couldn’t do it with OOTB nodes only.

yes it is, the reason it doent work on your sample, is its not a section but a callout categori

arhhh have just tried with ootb and sure there is some issue, so guess we need create or own or try archilab, and it works here no matter the categori is callouts or section …

Home.dyn (21.6 KB)