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

 

I believe thats the shortest from.

 

Cheers.

 

-- 

igor majdandzic

compositor |

 <mailto:i...@badgerfx.com> i...@badgerfx.com

BadgerFX |  <http://www.badgerfx.com/> www.badgerfx.com

 

Von: nuke-python-boun...@support.thefoundry.co.uk
[mailto:nuke-python-boun...@support.thefoundry.co.uk] Im Auftrag von Olivier
Jezequel
Gesendet: Freitag, 22. Februar 2013 13:43
An: nuke-python@support.thefoundry.co.uk
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
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to