Created
September 8, 2017 18:37
-
-
Save kpprt/e521a7de4bede18a48a8bc866e054077 to your computer and use it in GitHub Desktop.
A special workflow node for Nuke that shows the current version of the connected input in its label.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v3 | |
push $cut_paste_input | |
NoOp { | |
name Version1 | |
knobChanged "if nuke.thisKnob().name() == 'inputChange':\n label = nuke.thisNode().knob('label')\n label.setValue(label.getValue())" | |
label "\[if \{\[exists \[topnode].file]\} \{return \[string range \[regexp -inline \"_v\\\[0-9]*\" \[value \[topnode].file]] 1 end]\} \{\}]" | |
note_font_size 50 | |
selected true | |
xpos -810 | |
ypos -5216 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment