Select elements by a parameter


I’am trying to filter elements by a parameter and i don’t understand why this doesn’t work, could you guys help me please ?

Tanks a lot !

It’s important to pay attention to node output types. ParameterByName returns the parameter object (which is an element), not the parameter name (which is a string). You need to get teh name from the parameter then compare.

1 Like

Try to get the parameter name before your ==…hehe you beat me here Nick :wink:

Thank you guys ! :grinning:

1 Like