Selecting faces / polylines according to their edge counts

Dear All,
I am trying to list faces according to their edge count but can’t do it. what is wrong in my definition / approach? In this case I would like to isolate rectangles. Thanks in advance.
Edge_Count.gh (12.1 KB)

Graft the input to “Dispatch Pattern”

1 Like

Thank you Ethan, It has worked!

I think you should familiarize yourself more with data-matching, or else you’re going to encounter problems like this over and over. Hover over the inputs to Dispatch and you’ll see that there are the same number of branches now going in both. That’s what you should strive for.

Yes, data matching is heart of gh maybe, thank you for your tip and suggestion. I am going to try it. Cheers.