Retrieve 'Name' of value list

Hi,

Question,

There is a dropdown - value list - component.
Containing Textual names to choose - and numbers as output.

Challenge;
I would like to retrieve the choosen ‘Textual Name’ of the value list.

Any suggestions?

e.g.
if Grass is selected, I would also like to output -->
1
and
grass

image

Thanks,

2020-11-30 Value list output both output number and ‘textual Name’.gh (4.7 KB)

You can do this with Metahopper

20_11_30_value_list_info_metahopper.gh (8.7 KB)

2 Likes

Ahh perfect thanks!

I see you are very skilled with metahopper, could you also have a look at the question below?
You probably do now the answer. :slight_smile:

How to Retrieve the ‘Name’ of a (or more) number sliders.

image

Thanks again!

I’m using metahopper for all sorts of things. It’s an amazing tool

20_11_30_slider_info_metahopper.gh (7.6 KB)

2 Likes