Switch

Lets you switch between any number of inputs. This can be useful when using gizmos. For an example, see Sourcing Custom Plug-ins and Generic Tcl Scripts in the Configuring Nuke.

Inputs and Controls

Connection Type

Connection Name

Function

Input

0,1, 2, 3, 4...

The inputs you intend to switch between.

Control (UI)

Knob (Scripting)

Default Value

Function

Switch Tab

which

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.