With the new “Query Model Objects” that came with Rhino 8, I’ve been using the method in the picture a lot lately when I want to grab objects with certain user values but I can’t help but wonder if I am doing it wrong. Is it possible to query objects by user key/values or is this the proper way?
An expansion upon this question would really be, can you query object by really any attribute or do you need to grab them all and then filter like this?

