Sliders Values and Names to Text?

Hi everyone,

I was wondering if it would be possible to have all the values of the sliders in a document + their name transcribed onto a panel. Maybe with a C# script?

Thanks in advance
Shynn

You could use Metahopper features that does this, but you should select your sliders whatever order you want first.
Maybe some script can offer you a non-selective way?

1 Like

Here’s a GHPython approach:

2019-08-04%2009_03_49-Grasshopper%20-%20190804_GetSliderNamesValues_GHPython_00_
190804_GetSliderNamesValues_GHPython_00.gh (3.2 KB)

Edit: With some slight formatting:
2019-08-04%2009_11_02-Grasshopper%20-%20190804_GetSliderNamesValues_GHPython_01
190804_GetSliderNamesValues_GHPython_01.gh (3.0 KB)

3 Likes

You can start with something like this in C#

3 Likes

Thank you guys!

In fact this is the proper/classic way to do it > do a class …

… gather any “properties” you want and then write any query imaginable:

Slider_GetInfo_V1.gh (116.7 KB)

1 Like