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

 

I believe thats the shortest from.

 

Cheers.

 

-- 

igor majdandzic

compositor |

 <mailto:[email protected]> [email protected]

BadgerFX |  <http://www.badgerfx.com/> 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