daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. def addtab():
  3.     w = nuke.thisNode()
  4.    # w = nuke.selectedNode()
  5.     w_tab = nuke.Tab_Knob('test', 'test')
  6.     btn = nuke.PyScript_Knob('Clickme', 'Batch Renamer')
  7.  
  8.     if w.Class() == "Read":
  9.         w.addKnob(w_tab)
  10.         w.addKnob(btn)
  11.         w['Clickme'].setCommand("batchrenamer.main()")
  12. nuke.addOnUserCreate(addtab)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top