ShuffleCycleLayers v1.1
This location is for Registered Users Only.
Perhaps you need to login or register.
11.3 or later
Linux, Mac, Windows


Cycles through Layers on shuffle node similar to the viewer page up and page down hotkeys.
**Note: it does not to recognize 'linked_knobs' on gizmos, so it's best to add
an actual Channel_Knob to your gizmo and expression link it to other internal nodes
This script is for the old Shuffle node, has not been updated for nuke12's new shuffle yet, I will try and get around to it if there's enough demand
################# INSTALL INSTRUCTIONS ###################
1.) Copy this file to your .nuke folder or plugins folder
2.) Add this line to your menu.py:
import cycleLayersShuffle
nuke.menu('Nuke').addCommand('Edit/Node/Cycle Layer Forward', 'cycleLayersShuffle.cycleLayerFoward()', 'PgDown', shortcutContext=2)
nuke.menu('Nuke').addCommand('Edit/Node/Cycle Layer Backward', 'cycleLayersShuffle.cycleLayerBackward()', 'PgUp', shortcutContext=2)
Feel free to swap out the hotkeys from page up/down to + / - or any hotkeys you'd like.
Enjoy!
----------------------
v1.1 - just swapped around the pageUp pageDown hotkeys, i had them reversed