Checking with tcl for node input

Hi,

i want to switch a node on or off depending on whether there is some input coming into the node or not.
The problem is for example i use a grade node, and inside the grade node i use some mask channel. Now when there is no input to the grade node, it will produce an error (mask channel not found) and nuke will not render.

Basically i want to switch off the node when there is no input, so that the script will always render.
Is it possible to do this with tcl?

No Responses to “Checking with tcl for node input”

Post a Comment