I’m writing an expression that will eventually be a button on the tools shelf in Nuke. This is what I have so far:
def VectorBlurToggle():
for node in nuke.allNodes(‘vectorBlurGizmo’):
if node.knob(‘disable’).value() :
node.knob(‘disable’).setValue(0)
else:
node.knob(‘disable’).setValue(1)
But what I want to do is instead of disabling the node entirely, I want to ad the expression $gui so that even if the node is disabled – the node will still render (using the studios rendering software).
Would be awesome if anyone could help me out with this.
Post a Comment