ShuffleCycleLayers v1.1


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Tony Lyons
Cycles through Layers on shuffle node similar to the viewer page up and page down hotkeys
Requirements:
11.3 or later
Linux, Mac, Windows
18 May 2021
43

Cycles through Layers on shuffle node similar to the viewer page up and page down hotkeys.

 

cycleLayersCompressed

 

**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

 

Please login in order to download these files.

You have no rights to post comments

We have 2055 guests and 41 members online