How to Duplicate Number Sliders?

I am trying to create a grasshopper script using HumanUI to input and evaluate multiple design options. I have been using the “Duplicate Data” module to create multiple UI elements for each design option and place these UI elements in different expanders. This works for Text boxes, but does not work for Number Sliders. Is there any way I can do that? I have attached a test file to show what I mean.

Num_Slider-HumanUI-Test-01.gh (29.4 KB)

Hey, did you manage to solve it?
I am super interested in the same functionality.

Yes, you can do this by using metahopper. Put your slider in a group with a ObjFrGrp component (Get Objects From Group). Run the output of the ObjFrGrp into duplicate, and then that output into Create Slider. Voila, 50 sliders from a single input. :slight_smile:

I have done this many times to create a large number of Simple Grids that contain any number of sliders, labels, text boxes, etc, to create interfaces that can accommodate a large number of dynamic elements using show/hide on the grids based on GH data. Keep in mind that elements take time to instantiate, so if you use too many of these, it will make your UI very slow to load, but UI performance should still be good.

1 Like

Thank you @marcsyp,
I tried it (get object in group - Metahopper) but It doesn’t work. Probably I’m doing something wrong.
Do you explain me better with a gh exemple?
Thank you again for your precious suggestions.