NodeTable v1.1


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Mitja Müller-Jend
A spreadsheet to display and edit multiple nodes at a time
Requirements:
11.0, 10.5, 10.0, 9.0, 8.0, 7.1, 7.0 or later
Linux, Mac, Windows
11 Sep 2017
79

demo1 1

Features:

v1.1

  • colored rows
  • added filter for disabled and hidden knobs
  • bugfixes

v1.0:

  • view and edit multiple nodes at a time (hit enter to commit new value, esc to cancel editing)
  • filter by node classes, node names and knob names (comma seperated)
  • click on name selects node and shows it in node graph.
  • double click on name opens properties bin

How do I get set up?

  1. download Qt.py and add into your .nuke folder or PYTHON_PATH
  2. download this tool and extract the whole NodeTable folder (as is) into your .nuke folder or PYTHON_PATH. Make sure to copy the folder, not individual files.
  3. add to your menu.py:
from nukescripts import panels
def get_node_table_widget():
    from NodeTable import node_table
    return node_table.NodeTableWidget(nuke.selectedNodes())
panels.registerWidgetAsPanel('get_node_table_widget', 'Node Spreadsheet',
                             'de.filmkorn.NodeSpreadsheet', False)

Development Status:

  • This is a proof of concept. While I have used this tool many times, I do not recommend to use this tool in production yet.

  • Many knob classes can NOT be edited.
  • Only tested in Nuke 11 as I only have a Non-Commercial license of nuke.
  • Please report suggestions, bugs or feature requests on bitbucket!

 

MIT
Please login in order to download these files.

Comments   

 
# Frank Rueter 2017-09-06 02:04
nice!!! I have an unfinished version of this sitting on my server and never had the time to polish it off.
Can you make the rows have the same colour as the nodes?
I have the code sitting here for that part if you want it (ping me in email if you do)
 
 
# djati waskito 2017-09-06 06:20
Quoting Frank Rueter:
nice!!! I have an unfinished version of this sitting on my server and never had the time to polish it off.
Can you make the rows have the same colour as the nodes?
I have the code sitting here for that part if you want it (ping me in email if you do)

Yeah..it would be awesome if the rows have the same color as the nodes.
 
 
# Frank Rueter 2017-09-06 22:42
In case you want to incorporate this into your script, here are the two methods I use:
def __setColours(se lf):
'''get the node's actual tile colour'''
# bg colour
tileColour = self.node['tile _color'].value( ) or nuke.defaultNod eColor(self.nod e.Class())
bgCol = QtGui.QColor(*t ileToRGB(tileCo lour))
self.setBackground(QtGui.QBrush(bgCol))

def tileToRGB(v):
'''
__tileToRGB(v) -> tuple
Returns a tuple representing Red, Green, and Blue values
in a 0-255 range, from a 32 bit int as returned by Nuke's "tile_color" knob.
Keyword arguments:
v -- a 32 bit int as returned by Nuke's "tile_color" knob

Thanks to Ivan Busquets for this snippet
'''
R = (0xFF & v >> 24)
G = (0xFF & v >> 16)
B = (0xFF & v >> 8)
return R,G,B
 
 
# djati waskito 2017-09-06 06:19
this really helpfull ..thank you Mr.Mitja
 
 
# Frank Rueter 2017-09-06 06:56
Looks like it's only working in Nuke 11 as the knob_editors.py imports PySide2 directly rather than using Qt.py
 
 
# Frank Rueter 2017-09-06 22:41
Just to confirm: If you change the import statement in knob_editors.py to use Qt instead of PySide2 all seems to work well in Nuke 10.5.
 
 
# Mitja Müller-Jend 2017-09-08 19:19
Thanks for the input. Fixed the import and added coloured rows.
 
 
# Frank Rueter 2017-09-09 03:49
great, thanks!
 
 
# li zhaohui 2017-09-09 18:54
The panel is empty! ImportError: No module named NodeTable
 
 
# Frank Rueter 2017-09-09 22:27
You need to make sure the "NodeTable" folder is in your NUKE_PATH or inside your ~/.nuke directory
 
 
# li zhaohui 2017-09-11 03:18
ImportError: cannot import name knob_editors
 
 
# Mohamed Abuzeid 2017-09-11 16:50
please make tutorial for installation , it's not easy , there's something wrong . Thanks .
 
 
# Frank Rueter 2017-09-11 22:37
It works just fine for me. Can you describe your installation steps so we can identify the issue?
 
 
# Paul Loop 2017-09-20 17:39
Hi.Seems a great tool. But I have a problem when running.I can see a widget inside nuke, but I can't edit nodes, when I select something or entr node class nothing happens. I'm on win7 and nuke 10.5.
 

You have no rights to post comments

We have 2473 guests and 113 members online