This location is for Registered Users Only.
Perhaps you need to login or register.
12.2, 12.1, 12.0, 11.3, 11.2, 11.1, 11.0, 10.5, 10 or later
Linux, Mac, Windows
You can watch a video demo of this tool here: https://www.youtube.com/watch?v=AiVtWjrtDlk
When I'm working with CG renders that include excesive numbers of AOVs I find it a real pain to look through and find the ones I need to work with. I found the easiest way to go through them was the view the render and then use the Page Up/Page Down keys to change the layer that the viewer is showing. But once I found a layer I wanted I would have to go back to the node graph, create a shuffle node and then find the layer again.
I created this python script to speed up the process. Now, once I find a layer I want I can press CTRL+ALT+SHIFT+S (couldn't think of a better keybaord shortcut) and the script will automatically create a new shuffle node with the first in set to whatever layer I was viewing. If one or more shuffle nodes were already selected in the Node Graph then the script will change the first in of these nodes, rather than creating new nodes.
I thought I may as well also create the reverse script, so if you have a shuffle node selected it you can set the viewer to view the matching layer with CTRL+ALT+SHIFT+V.
I've tried to write it so that it will create the new Shuffle 2 node if you are using Nuke 12, but if that fails it will create an old Shuffle node if you are using an older version of Nuke, but I haven't had access to Nuke 11 to test it. Please let me know if it doesn't work.
To install it, download this file and move it to wherever you keep your python scripts and just add import shuffleFromViewer to your menu.py