Here is something to get you started:

http://pastebin.com/2SbLf5PH

This adds a callback for nodes of class "NoOp", which you will have to change to react to your gizmo class or whatever other node you want this to work with.


Have a look and see if it makes sense.

Cheers,
frank



On 3/16/14, 8:37 AM, Bruno-Pierre Jobin wrote:
Hello Nukers,

I'm trying to find a way to change the color of a node (title_color) which would be driven by cascading pulldown choice menu. For example, if the first item is chosen, the node would be yellow and if the second one is chosen, it would turn blue.

I found this thread in the mailing list archive but I can't figure out where to paste that code...

https://www.mail-archive.com/nuke-users@support.thefoundry.co.uk/msg03405.html

I'm very new to python so please give a lot of details. 

Thanks!
--
Bruno-Pierre Jobin



_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to