Multi Knob Edit Tool v1.1


 
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.
Requirements:
11.0, 10.5, 10.0, 9.0 or later
Linux, Mac, Windows
14 Nov 2017
56
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.
 
multiknob_edit_tool.jpg
 
INSTALL
 
Copy wbMultiKnobEdit.py to a startup directory. (e.g. for window C:\Users\\.nuke )
add these lines to your menu.py (e.g. for window C:\Users\\.nuke\menu.py ):
 
import wbMultiKnobEdit
menu = nuke.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.

Comments   

 
# Jung Keun Kim 2017-08-19 15:18
I'm a big fan of this gizmo~ Could you update for nuke 11?
 
 
# 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.
 

You have no rights to post comments

We have 2613 guests and 129 members online