Filter elements by surfaces

Goodday,

I am trying to filter elements, based on the number of surfaces they have.
I know there are around 5-10 elements with 6 surfaces in the project. The rest have 4 surfaces.
Does anyone know how to filter these elements?

1 Like

@jan-luc.jansen ,

you can use codeblock x.Faces and count them Count(x). you can try groupByKey or Function

2 Likes

Here is a way…

2 Likes

Thank you, this is i think a part of the solution!
I have the correct surfaces selected this way, but now i want to delete the elements which belong to these surfaces.
Is there a way to link the surfaces back to the elements (in the top left corner), so i can delete those elements?

1 Like

Hi @jan-luc.jansen …try something here…

1 Like

Thank you so much! This works!

1 Like