I made a gizmo that has a shitload of different settings, to clean that up
a bit I would like to hide/unhide knobs depending on what menu item is
picked.
Exactly like it works in the write-node when you pick file type.

I have written the code for the actual hiding/unhiding in python, problem
is I can't seem to figure out how to run the script when I change the menu
knob.

I scanned through the python guide and found the knobChanged callback, but
I can't really figure out how it works. Also I don't want to have to run a
callback every time I start nuke (or incorporate it in my menu.py). As that
makes the gizmo a pain in the ass if i want to share it.

It also seems inefficient to constantly run a callback, just in case the
user might change some parameters of one node.

I also feel that there should be a way to hide/unhide knobs in a more local
way, through TCL or something.

Anyway, all help is greatly appreciated


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

Reply via email to