Getting the selected item in a Key-Value Dictionary with Python

   1175   1   1
User Avatar
Member
1 posts
Joined: July 2016
Online


Hi, I am trying to get the highlighted item in this Key-Value Dictionary. I can get all of the items with “eval()” but it doesn't give any indication what the user has highlighted.

Thanks in advance!!

Attachments:
dictUI.jpg (17.5 KB)

User Avatar
Member
191 posts
Joined: Oct. 2018
Offline
What are you trying to do with the selection? It doesn't seem to retain the user selection when you select another node and come back to it anyways.

Maybe making another parm that's a menu and you can use the menu script to evaluate the key-value dictionary and build the list instead? Then the user can select from the drop down menu and you can evaluate that selection
  • Quick Links