Open topic with navigation
Lets you switch between any number of inputs. This can be useful when using gizmos. For an example, see Gizmos, Custom Plug-ins, and Generic TCL Scripts in the Configuring Nuke chapter of the Nuke User Guide.
Connection Type
Connection Name
Function
Input
0,1, 2, 3, 4...
The inputs you intend to switch between.
Control (UI)
Knob (Scripting)
Default Value
Switch Tab
which
0
The input to display. Each input is displayed at the value corresponding to the number of the input. For example:
• Setting which to 4 displays the image from input 4.
• Setting which to 6 displays the image from input 6.