Viewer Lock v1.5

This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Matt Roe
A GUI for locking your viewer to desired nodes and prevent annoying accidental reassignments.
11.3, 11.2, 11.1, 11.0, 10.5, 10.0, 9.0, 8.0 or later
Linux, Mac, Windows
03 Feb 2020

What is Viewer Lock?

Don't you hate it when your viewer's not connected to the nodes you think it's connected to? Like when you're rotoing and you're trying to A/B between the plate and the comp, but the roto node's overlay has hijacked Nuke's focus and now you're looking at some random roto node?

Usually when I ask people this, the answer is no. But I sure do, so I made this.

Viewer Lock is a tool that allows you to lock viewer inputs to nodes, so that they're always assigned to what you think they're assigned to. I've been using this personally for a couple of years now, but I thought I'd share it in case there were people out there who also have this fairly niche problem.

Annotation 2019-08-09 014138

Usage instructions

Press Shift+V to open the Viewer Lock panel, or, if you already have one open, to bring it to focus.

The left row of checkboxes show which inputs are in use. Uncheck them to unassign the input. The right row of checkboxes show which inputs are locked. Check them to lock the input to the node it's currently assigned to, or to uncheck them to unlock. The checkboxes at the top unassign all inputs and lock/unlock all inputs, respectively.

You can also use shortcuts:

  • Ctrl+Alt+(number) will lock the input to the selected node, or reassign a locked input to the selected node.
  • Ctrl+Shift+(number) will unlock the input and assign it to the selected node as normal.
  • Ctrl+Alt+V and Ctrl+Shift+V will lock and unlock all inputs respectively.

I haven't tested this on a Mac. If any Mac users out there download this and something's wrong, let me know so that I can either fix it or untick Mac compatibility. I also haven't tested this on anything earlier than Nuke 10 or later than 11.3, but in theory there's no reason it shouldn't be backwards/forwards compatible.

This will not work with non-commercial Nuke because of Python restrictions. :(

Installation instructions

Unzip the file and move the contents to your .nuke folder, keeping the contents of the viewerLock folder inside that folder. If you already have a file, combine it with this one.

Copyright 2020 Matt Roe Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please login in order to download these files.


# Pratheesh Chandran 2019-08-09 10:11
awesome...thank s Matt
# Matt Roe 2019-08-09 12:34
Glad you like it Pratheesh!

You have no rights to post comments

We have 3236 guests and 28 members online