GhPython Modify Value List

Hi All,

Just wondering how I code in Python to separate these value lists. Currently, the value list is controlled by obj.NickName, all these secondary value list will change.

See the image below that “Profile ID” will control the “Profile List” below it

instead of a search, you can point directly to it because it’s going into the “x” of your ghpy
ghenv.Component.Params.Input[1].Sources[0]

Hey @Will_Wang how do I modify the code if I cluster the python code into a component??