nuke.thisNode()['text'].setValue(nuke.selectedNode().Class())
another exemple
set cut_paste_input [stack 0]
version 6.3 v6
push $cut_paste_input
NoOp {
name NoOp2
selected true
xpos -584
ypos -114
addUserKnob {20 User}
addUserKnob {22 Go T
"nuke.thisNode()\['text'].setValue(nuke.selectedNode().Class())"
+STARTLINE}
addUserKnob {1 text}
text Grade
}
On Thu, Jul 26, 2012, at 12:55, ae.branton wrote:
Thanks man thats great, do you know how id get it so when i press
that button it inputs the node class into a Text input line i
created on the same nooop?
_______________________________________________
Nuke-python mailing list
[1][email protected],
[2]http://forums.thefoundry.co.uk/
[3]http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-
python
References
1. mailto:[email protected]
2. http://forums.thefoundry.co.uk/
3. http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
Hugo Léveillé
TD Compositing, Vision Globale
[email protected]
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python