Link 2 Lists and filter results

Hello All,

I Have a list of revit view types, I am using human ui to allow user to select from this list.

image

I would like to receive the corresponded view number out of the list, but human ui gives me only the name after user selects it.

Is there a way for me to have two lists and filter a number out using the name?

Hi @arqueiro

You can use json or a simple python dictionary for this.


key value.gh (8.4 KB)