Multi Knob Edit Tool v1.2

This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Thorsten Löffler
This tool helps you to manipulate the values of the knobs of the same Class, for the selected nodes of the same Class.
11.0, 10.5, 10.0, 9.0 or later
Linux, Mac, Windows
30 Jul 2018
This script is a proof of concept, to implement the very handy multi ppg feature from Softimage into Nuke.
Run the wbMultiKnobEdit.multiEditExec() function. Then the multi knob edit mode is activated (see red info bar on top of the Nuke UI),
this means all nodes of the same class and when they're selected will get the same value,
when one of the values is changed.
E.g: You select a couple of read nodes while the multi knob mode is activated, and change the frame value hold from hold to loop,
so all selected nodes will get the same value.
You deactive this behavior, when you execute the wbMultiKnobEdit.multiEditExec() function a second time.
Copy to a startup directory. (e.g. for window C:\Users\\.nuke )
add these lines to your (e.g. for window C:\Users\\.nuke\ ):
import wbMultiKnobEdit
menu ='Nuke')
edit_menu = menu.findItem('Edit')
edit_menu.addSeparator( len(edit_menu.items()) )
edit_menu.addCommand('multi knob edit tool', 'wbMultiKnobEdit.multiEditExec()', 'F12')
In the example above the script is added to the Edit menu and assigned to F12 as a shortcut.
Copyright (c) 2017, Thorsten Loeffler All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of the FreeBSD Project.
Please login in order to download these files.


0 # Jung Keun Kim 2017-08-19 15:18
I'm a big fan of this gizmo~ Could you update for nuke 11?
+1 # Thorsten Löffler 2017-11-14 14:48
Hi Jung Keun Kim, I appreciate that you like this little tool. I recently found time to update it, now it also runs under Nuke 11.
0 # Renan Lopes de Paula 2018-02-01 14:40
This is amazing!!

Thank you so much!!
+1 # Manu Gaulot 2018-04-23 02:45
This is the most elegant solution to access the same knobs in multiple nodes at the same time. Simply awesome!
Only minor issue I found is when using on a Mac, the red 'MultiEdit' message disappears behind the main window.
0 # Justin Johnson 2018-05-17 17:13
Having the same issue with Linux.
0 # Manu Gaulot 2018-05-17 20:31
I modified line 36 in wbMultiKnbEdit. py. Added the flag "WindowStaysOnTopHint".

From: self.setWindowFlags(QtCore.Qt.Window|QtCore.Qt.FramelessWindowHint)
To: self.setWindowFlags(QtCore.Qt.Window|QtCore.Qt.FramelessWindowHint|QtCore.Qt.WindowStaysOnTopHint)

It works for me on Mac and Linux but haven't tested on Win yet.
+1 # Thorsten Löffler 2018-07-30 16:39
Hi Manu, thanks for your fix, I implemented it to the script and tested it on the Windows and Mac side, there it worked and fixed the issue.
0 # Jung Keun Kim 2021-05-24 05:21
Do you have any extra time to fix problem with nuke 13? :-*
+1 # Andrew Ashton 2021-10-12 20:20
Love this tool, Could you update for Nuke13 / python3. Getting a 'wbMultiKnobEdi t' has no attribute 'multiEditExec' that I cant seem to repair. Thankyou
0 # Manu Gaulot 2022-01-04 21:34
i was getting a Syntax error in Nuke13 for line 90 and 94. I just commented out these lines with # and it works fine.
I'm in Nuke13.0v2 btw, haven't tried in higher versions.
0 # Manu Gaulot 2022-01-04 22:10
This is good for reference:
+1 # NO NO 2024-01-30 12:25
Not working on 13/14

You have no rights to post comments

We have 3142 guests and 33 members online