I want to take all schedules in project, and grab few of them with bool mask. I got a list of schedule names I need to grab but == doesn’t grab a list properly. If I use == to filter by just one string it works fine but when I try to hook up a list it doesn’t collect equals properly.
which one?
1 Like
Hi @1bitBoolean ,
There are multiple ways to approach this, what I recommend for you is one of the following:
- Use == set to cross lacing and use a List.AnyTrue (set to @L2) node afterwards, then use that input into the boolmask node.
- Use List.IndexOf and List.GetItemAtIndex instead of the == and List.FilterByBoolMask nodes.
- If you really want to be fancy, create a dictionary using the view names as keys and the views themselves as values, then you could use Dictionary.ValueByKey* to get the schedule by its name, no filtering needed.
*not sure about the exact name, writing this from memory.
Also @Draxl_Andreas you didn’t attach anything in your first reply.
1 Like