I am trying to populate value lists with keys from a dictionary (RhinoMac 5). I have written some Python code (cobbled together from guidance on this site) that sets the values based on an input list, but I am finding some strange behaviour. After the values have been set (and they are visible in the list), the Value List values turn out to be “None”. If the list contains numbers, then sometimes it is OK (but not always). I mist be missing something, maybe some sort of refresh.
Any help would be much appreciated.
ghValueListSet.gh (15.4 KB)