perfect :)

thanks a lot
________________________________
From: Igor Majdandzic [[email protected]]
Sent: 22 February 2013 13:10
To: 'Nuke Python discussion'
Subject: AW: [Nuke-python] access node like TCL

nuke.toNode('Grade1')['multiply'].value()

I believe thats the shortest from…

Cheers…

--
igor majdandzic
compositor |
[email protected]<mailto:[email protected]>
BadgerFX | www.badgerfx.com<http://www.badgerfx.com/>

Von: [email protected] 
[mailto:[email protected]] Im Auftrag von Olivier 
Jezequel
Gesendet: Freitag, 22. Februar 2013 13:43
An: [email protected]
Betreff: [Nuke-python] access node like TCL

Hiya,
I feel bad asking that looks so simple but i didn't find the way.

In a python button, I am trying to access specific nodes like TCL expressions 
works.
ex : Grade1.multiply

I don't want to go into a nuke.selectedNodes/Node method, it has to be straight 
forward like tcl.

so how would i write that in python ??

test = ??? Grade1.multiply ???

cheers
O
_______________________________________________
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