nuke.thisNode()
..and I think nuke.thisKnob() also works

On 12/07/13 10:00, Ned Wilson wrote:
Is there a convenience method to get the current node or button object that the 
python script button code is executed from, on click?

"this" is not defined.
"self" is not defined.
"parent" is not defined.

Thanks!

-n

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

--
ben dickson
2D TD | [email protected]
rising sun pictures | www.rsp.com.au
_______________________________________________
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