Using 'Or' node with lists

Does the ‘Or’ node work with lists? There is no lacing nor List@level options. I’ve tried list chop to split the list into single items but this fails too.

Wrong ‘Or’ node - you want the || or not the ‘Or’ or. :wink:

http://dictionary.dynamobim.com/#/Operators/Action/

Hi @Paul_Wintour

?

1 Like

I actually have 3 lists. I know I can daisy chain but it is not very elegant.

I discovered the || node. But shouldn’t the Or node work? If not, what does it actually do?

It works only with a single bool.

Thanks Kulkul. I think the Dynamo team needs to look at this. Seems a bit pointless to have a node which can’t work with lists.

2 Likes

For more than two booleans you could either use a code block (I think) or transpose your list and use AllFalse and Not on each sublist.

I think as it’s a part of the core logic it may be one of those things that has to exist for other things to work correctly.

Code blocks do allow more than two lists as I recall, but I find it easier to follow a list.transpose and list.contains function.

@Zach_Kron @Aparajit_Pratap is this something the Dynamo team can look into and/or explain pls

1 Like