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 13:20, ae.branton wrote:

Well, i found a different way of doing it, so its working now.
but it would still be cool to know if that is possible.

_______________________________________________

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

Reply via email to