Ok, well I can use python single line expr , something like :
nuke.thisNode().input(1).knob('track1').value(0)
input(1) -> to get data from second input. But …. there’s something wrong with when using this python single expression. That python expression above is working perfectly. But as soon as i use that code , my whole script suddenly become very very slow. It took one second just to click any nodes and another one second to drag the node. When i delete that code, my nuke script is back to normal. Must be a bug … so i want tcl version.
I can use tcl : input.[parameter] , but this ‘input’ keyword only work for the first input not the other input (second input , third input etc). I tried using array index something like input(1) or input[1] but they’re not working.
Can anyone help me with the TCL pls . Or any other option?
Thanx
Post a Comment