Due to project specifics I make multiple dependent sheets for same story since in reality multiple floors are identical but are requested as separate drawings. Long story short I end up with this:
All views feature all renamed sections since they exist in the same spot due to a duplicate dependency.
I want to hide all section heads in views that don’t belong there:
Like in this example, all views display all sections. I want to element.hide the sections that do not match the substring containing the first number identifier - “02, 03, 04 ect”
and sorting by one identifier is easy with bool mask but how do I group them by identifier and then make them hide all views that aren’t in the group of their identifier for every view?
Very useful, but looks like I didn’t define problem properly. I have more parent views so logic is little bit different and I just spent few h trying to get it right but couldn’t. Here’s how the view list looks like:
I have this list of lists and I want to hide all 04-0X in views 03
So I need to create a list that contains all items sorted in 2 groups - those who contain 03 and those who don’t.
Then the same for 04
Again another instance of the full list devided in 2 groups those who contain 04 and those who don’t and so on.
If it was a singular view group like just 03 that was parent I could use boolMask. But I need a list of all groups and a list of all leftovers from when that group has been taken.
EDIT:
I cycled the list and chopped it in original lenght. I narrowed down th problem down to a very small issue:
You already have a list structure in which you have determined which view should and shouldn’t be hidden, would a list-structure approach like this work?
does every “view group” have the same wrongfully hidden views?
In the second screenshot, you seem to be comparing List 0 to List 69
assuming index 69 in getitematindex is in fact “08”, I don’t see anything wrong.
can I see the list that goes into list input of the boolmask? preferably with all nodes showing the same sublist
Seams INT views on that facade were acting strange even outside dynamo. I replaced them and so far everything seams to be working well. Thanks everybody!