Double conditional function to exclude "0" & Empty values

i want to use the filterbyboolMask to exclude “0” and “Empty” values of a shared parameter that i have created for wall elements in Revit. i could not find out how to create the double conditional function especially with the Empty value !
Thank you !!


use a second == node and feed your list in the y and create a codeblock that says “true” for the x.
true remains true, zero’s and null values will be false.


Since you are using a yes/no parameter you can just filter for the value you do want and exclude the rest, like this:

1 Like