How to use Key/Value Search component?

KeyValue Search component.gh (16.1 KB)
Why is it not working in this case?

This has to do with the data type. Your key data seems to be integers.

2 Likes

So, the key must be a string, and this component only returns the first one matched.

1 Like

key value search.gh (19.3 KB)
I made a Key Value Search cluster. It can return all key-matched data with their order.
In the example gh, this simple cluster groups geometries by thier attributes(area).

5 Likes

@Quan_Li : thanks for sharing! Loved it.

1 Like

Ha, Thanks! :grin:

1 Like