Right you are, Ben!

Thanks!

-n

( Wish this was included in the documentation... )

On Jul 11, 2013, at 5:46 PM, Ben Dickson <ben.dick...@rsp.com.au> wrote:

> 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
>> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
> 
> -- 
> ben dickson
> 2D TD | ben.dick...@rsp.com.au
> rising sun pictures | www.rsp.com.au
> _______________________________________________
> 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