Similar to the forEach node in Houdini, our Python script for Nuke makes it possible to apply a set of nodes to an unlimited number of inputs, e.g. Read nodes.
The ForEach node acts as group containing the actions to be repeated and comes with controls to change visual and functional settings.
The copies created by the node are linked clones – this way you can change all iterations at once.
Watch the following video for a quick demo or download the package with sample files at the bottom of the page.
If you want to repeat an action independently from any input nodes, use the manual mode and define a range for the loop. CTG ForEach will create an individual NoOp node called “each” for every clone. These Each nodes contain a variable i that you can access down the node-tree (make sure you declone your nodes first) using the following Python expression: forEach_i() or in TCL script (which is the default language for expressions):
[python {forEach_i()}]
Visit our Youtube channel for a video guide to install the script. We will be adding more advanced video instructions about usage of the node on the go.
This is not a gizmo as it’s not possible to edit the contents of gizmos. Rather, it will take the current selection and collapse it to a group with extended knobs and functionality.
. the package or walk through our GIT repository here.
We thank incompetech.com for the great track we used as background music!
Dan Borufka

