I don’t really think it’s possible to full 'hijack' that button, since it’s a 
compiled knob, but you can catch any clicks on it using a knobChanged function 
and do some stuff in addition to the standard behavior. Not sure if that would 
happen before or after the standard export call though (my guess would be 
after).

-Nathan


From: coreydrake 
Sent: Wednesday, October 19, 2011 1:22 PM
To: [email protected] 
Subject: [Nuke-python] Having custom python run when 'Save as Gizmo' 
buttonclicked

I was wondering if anyone has needed to do this or something similar. Basically 
I want to 'hijack' the Save as Gizmo button on a group node to execute a python 
command to run my own function rather than performing the action it would 
normally execute. Is this even possible?

Thanks in advance for any help.

_______________________________________________
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