Exclude value from list

Hey guys, new to Dynamo.

Tring to exclude a value from a list of a selection of elements in Revit.
Can’t quite seem to understand why the operator shows every entry as true.

Thanks in advance.

Test Dynamo.dyn (7.1 KB)

try a string input “Walls” instead of the categories node

Hi, yeah I already tried that. Still all counts true.

theres always a way
try the drop items node
try a codeblock
try the contains node
etc

Categories may not be comparable in that way. The same thing happens with geometry. Strings are usually the way to go.

Yeah try changing the categories names to strings and this will likely work out.