-how to call scripts viewer in Nuke?
Workspace -> Scripting
Python for Artists in Nuke - Part 1
https://www.youtube.com/watch?v=xK875Gxcw-c
Python for Artists in Nuke - Part 2
-Scripts Reference HP, Thx for sharing!
--
value1 = 42#value2 = "I'm here :D"
for node in nuke.selectedNodes():
node.knob('note_font_size').setValue(value1)
# node.knob('label').setValue(value2)
--
for node in nuke.selectedNodes():
dot = nuke.createNode("Dot", inpanel=False)
dot.setInput(0, nuke.toNode(selCamera))
dot['label'].setValue(' \n'+selCamera)
dot['note_font_size'].setValue(42)
dot['note_font'].setValue('Bitstream Vera Sans Bold')
dot['hide_input'].setValue(True)
--
for node in nuke.selectedNodes():
dot = nuke.createNode("Dot", inpanel=False)
dot.setInput(0, node)
dot['note_font_size'].setValue(42)
dot['hide_input'].setValue(True)
--
value1 = 60
for node in nuke.selectedNodes():
node.knob('BackdropNode').setValue(value1)
--
for node in nuke.selectedNodes():
dot = nuke.createNode("Dot", inpanel=False)
dot['note_font_size'].setValue(42)
dot.setInput(0, node)
post = nuke.createNode("PostageStamp", inpanel=False)
post['hide_input'].setValue(True)
post.setInput(1, post)
--
for node in nuke.selectedNodes():
node['hide_input'].setValue(True)
No comments:
Post a Comment