You will have to use the knobChanged callback.

Here is something to get you going:

pastebin.com/fV7XApJi



On 27/07/12 6:57 AM, ae.branton wrote:
Hey me again... sorry, trying to learn.

i was wondering if there is a way to drive a pull down choice menu with python. For instance lets say i add a pulldown choice box to a noop, and leave it blank. Then i have a python script button that looks at the selected nodes, gets their class, then lists the node class as an option in the pulldown menu. Then when you select a node class another pulldown menu lists all available knobs on that node.
and so on. Is this possible?


_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to