How does Find Similar really work?

Why “HatchObject” text is most similar to “Referenced Brep” but not to “HatchObject: (unnamed) (0)”?
Usage of special characters was the most important?
Is it the behavior that users would like to see?

find similar.gh (10.2 KB)

The components in the Set category work on simple data types only. I suspect in this case it’s looking at the formatted text rather than the underlying data.

1 Like

Yes, I think I am aware of that. I would use it along with data in other components and just use Hit indexes to pick it. My question was rather if this behavior on text is useful - if Find Similar in its form is a good way to quick serach for phrases (quick meant as not typing the whole name).
Something like a search bar.

I would like to return to the topic because how Find Similar Member works right now is very tricky (at least for me).
As you can see I am working on text data only and I just want to select the most similar text.

find similar member Revit.gh (15.0 KB)

I don’t know how:

Revit Material : aluminium

is more similar to

Revit Material : Piach @ MODERNIZACJA SOLNA- - projekt - zmiany 2

than to

Revit Material : Aluminium @ MODERNIZACJA SOLNA- - projekt - zmiany 2

In the video you can see that adding spacebar on the end of “aluminium” is fixing this problem, but both “Piach” and “Aluminium” has spacebar after itself.
The same about starting with capital letter - both “Aluminium” and “Piach” is starting with capital letter but for some reason “aluminium” is more similar to “Piach” than to “Aluminium”

Because it is used with some RiR components can you @kike or @eirannejad suggest some component which I can trust enough to put inside cluster and provide Material name from outside the cluster?

Hey @Czaja
What is this cluster intended to do? Would you give me a bit more description please so I can better understand what search mechanism is better for this purpose