How put color or text to object after filter options

Hi all

how to put colour or text after the user chooses an option from the filter and disappear the other colour or text

I will be looking forward to your reply

multi option with filter and put colour or text of opition.gh (19.6 KB) …


the problem when the user changes the options the colour keep at the same color

If you use Relay instead of a parameter like Surface or Brep,
then, you can use Item Index to choose color per geo.


multi option with filter and put colour or text of opition_re.gh (15.4 KB)

2 Likes

thanks … its work :slight_smile:

This is a different way to do it. Two Stream Filter components controlled by the same Value List (blue group). Merge is used for both breps and colors so the wire connections are explicit with no chance of getting them out of sequence.


filter and colour_2020Sep30a.gh (17.3 KB)

I can imagine a third way using Cull Pattern

1 Like

A third way using Cull Pattern:


filter and colour_2020Sep30b.gh (15.9 KB)

P.S. By the way, I noticed some redundancy on the left side of the canvas so simplified that:


filter and colour_2020Sep30c.gh (16.1 KB)

Those ‘Bifocals’ labels really mess up the canvas and are redundant unless you use icons.

1 Like

Slow day. Only three sliders are needed to define these four panels. Got rid of those pesky Bifocals too.


filter and colour_2020Sep30d.gh (16.2 KB)

1 Like

wow, thank you so much… I really appreciate your help

More cull patterns:


filter and colour_2020Oct1a.gh (16.5 KB)