No announcement yet.

Boolean OR for list

  • Filter
  • Time
  • Show
Clear All
new posts

    Boolean OR for list

    Hello all,

    Logic / Action / or you can insert any number of booleans and it will pass true if any of them are true. Is there a way to do this with a list of booleans rather than just one. You can use || for two list but what if I want more. Always more!

    Thank for you help,
    Attached Files

    How about something like this? Create your list and transpose so that the sublists are the "answers" for each item, then ask if any members of the sublist contain TRUE:
    Attached Files
    Chris Ellersick


      Thats a great solution. Thank you Cellersick. It would be nice if OR would work on list but what you said will work for now.


        You can use || instead, also in a code block
        Attached Files
        Last edited by Yna_Db; September 16, 2017, 09:48 PM.


          As mentioned by Yna_Db this is the Code Block version!

          Attached Files

          Sol Amour

          Architectural Explorer, Digital warrior, Affectual adventurer and Curious Human Being
          Portfolio Website @ Cargo Collective


            Thanks guys those are all great ideas.


            Related Topics


            • List Clean on Another List
              Good day all,

              Is there a way to use List.Clean and know which list items were removed so I can remove the same items from another list? ...
              September 28, 2017, 03:42 PM
            • List Replace Items
              Hello all!

              I am trying to "combine" two lists into one cohesive list.

              In List 1, I have list items that are "empty"...
              November 30, 2015, 04:28 PM
            • Reading Painted materials from walls?
              I've just been down a rabbit hole trying to find an answer to this but a pretty straightforward question - is there a way with Dynamo to read the material...
              August 19, 2020, 07:47 PM
            • The "official" RFO Wish List 2011
     is proud to present the very first ”official” RFO Wish List! After months and months of suggesting new features, rating them,...
              February 14, 2012, 02:15 PM
            • Trying to iterate through a list of strings
              Hi Team,
              Maybe one you gurus can help me out. I'm trying to step through a list of strings assigning each one to an instance parameter of a...
              September 11, 2018, 04:07 PM