How to select elements that have a length greater than a defined value

how to select elements that have a length greater than a defined value

in my case i wont to select element with length greater than 1.5


I’m thinking this should work, I used the the Element Types node instead of the Element.ElementType node (which I don’t have), and my script doesn’t work, but I think this structure should work for you.

It depends on what the parameter of the family is outputting. If the parameter is a string you may need to convert the string (text) to a number in order to use that formula x>1.5.

Agreed, looks like you need to change to a number, not a string.

1 Like