Hi all! My name is Sergio and I’m new into Python and Grasshopper. Im trying to develop some useful tools via Python and I didn’t found yet the solution to this problem:
I made a GhPythonScript wich changes and updates values on a ValueList when it gets plugged into the component. I used this to navigate on the inputs of the Script:
ghenv.Component.Params.Input[1].Sources[0].Name = "List1"
ghenv.Component.Params.Input[1].Sources[0].NickName = "List1"
ghenv.Component.Params.Input[1].Sources[0].ListItems.Clear()
But when I convert that into a cluster, obviously, all the Input and Source thing gets lost. Is there anyway to refer to the cluster inputs with the same method? I found some examples on the forum but Im not able to take it into python.
Thanks in advance!!