GH C# - Filtering a set of brep faces using conditional statements

I would suggest the following “general” approach on that matter:

  1. Create a custom class that samples the “properties” of the objects that you want to query - say like this:

  1. Build up a List of the custom type:

  2. Query the List (LINQ and the likes):

Notify if you want an entry level demo on the above (not exactly 100% suitable for novices mind … but no pain no gain).