Change layer material with a slider?

How can i change material layer with a slider?

First version uses vanilla components from Grasshopper, the second one uses the Item Selector component from Human.

Select_item_with_slider.gh (6.8 KB)

Select_item_with_slider_Human_Value_Selector.gh (8.4 KB)

1 Like

i have set the sphere to use layer material, the layer material will not switch when use slider. warning material not found, but i have created materials with named the list.

as you are already using Human, Iā€™d suggest to use Human to retrieve the material table (Human ā†’ Document Info ā†’ Material table)

1 Like