NodeTable v2.5
This location is for Registered Users Only.
Perhaps you need to login or register.
13.1, 13.0, 12.2, 12.1, 12.0, 11.3, 11.2, 11.1, 11 or later
Linux, Mac, Windows
Features:
- View and edit multiple nodes at a time (click anywhere or hit enter/return to commit new value, press 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.
Versions:
v2.5:
- Fix a python-3 unicode issue (thanks Erik Carlson)
v2.4:
- Fix Nuke crashing on startup when the Node Spreadsheet widget is saved to the default workspace.
- Filter and layout appearance
v2.3:
- Fix decimal precision of Array_Knob's editor
- Fix AttributeError: 'PySide2.QtCore .QCoreApplication' object has no attribute 'palette' on Nuke 12.
v2.2
- Fix displaying an Array_Knob on a 3D Node causes Nuke to crash.
v2.1
- Implemented editing of the ColorChip_Knob (node color).
- Minor bug fixes and code cleanup.
v2.0 (download on bitbucket only)
- Implement multi-edit of boolean knobs via a checkbox.
- New major version due to breaking change: Update package structure. Renamed `NodeTable` to `node_table`.
- This changes the menu.py integration:
from nukescripts import panels
def get_node_table_widget():
from node_table import view as node_table_view
return node_table_view.NodeTableWidget(nuke.selectedNodes())
panels.registerWidgetAsPanel('get_node_table_widget', 'Node Spreadsheet','de.filmkorn.NodeSpreadsheet', False)
v1.4
- Added option to menu bar to load selected Nodes inside of selected Groups.
v1.3
- Bug fixes, performance and code style improvements.
- Support for format knob.
- Colums are resized after filtering.
- Filter completer prefers shorter names and is now case insensitive.
- Added warning when loading a large number of nodes.
v1.2
- matrix knob editing
- bugfixes:
v1.1
- colored rows
- added filter for disabled and hidden knobs
- bugfixes
v1.0:
- initial release
Installation:
1. download Qt.py and copy only the Qt.py file into your .nuke folder or PYTHON_PATH
2. You can download this tool from one of two sources:
-
- nukepedia: Make sure to copy the NodeTable folder (as is - not individual files) into your .nuke folder or PYTHON_PATH.
- gitlab: Click `download repository` to download the latest version. Extract the files and place them into a `NodeTable` folder. You can also clone the repository:
- git clone https://[email protected]/filmkorn/nodetable.git NodeTable
3. add to your menu.py:
from nukescripts import panels
def get_node_table_widget():
from node_table import view as node_table_view
return node_table_view.NodeTableWidget(nuke.selectedNodes())
panels.registerWidgetAsPanel('get_node_table_widget', 'Node Spreadsheet','de.filmkorn.NodeSpreadsheet', False)
Development Status:
- Known bugs:
- Shuffle nodes 'in' knobs are filtered as hidden (Nuke bug).
- Some knob classes can NOT be edited yet.
- Please report suggestions, bugs or feature requests on gitlab!
Comments
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.
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 >>
return R,G,B
All the files are in the ~/.nuke directory and I don't see any errors
*nuke.pluginAddP ath("./Python/N odeTable")*
I've copied the qt.py into NUKE_PATH
OSX version 10.9.5
Nuke version 10.5v5
from terminal*
------------------------------------
Traceback (most recent call last):
File "*~"Path to nubridge pythonPath"*~/N uBridge/src/con troller/init.py ", line 4, in
import Nukepedia # for logger
File "src/controller /Nukepedia.py", line 20, in init controller.Nuke pedia (src/controller /Nukepedia.c:41 571)
File "src/controller /common.py", line 37, in init controller.comm on (src/controller/common.c:14396)
ImportError: No module named NukepediaDB
-------------------------------------------------------------
Edit: Nevermind, the nuke.pluginAddP ath("./Python/N odeTable") was unnecessary.
https://bitbucket.org/filmkorn/nodetable/issues/45/nubridge-error-from-nodetable
And a way to change knob values in relative way (i.e. current value * .5)?
so after using few hours i notised this
bug:
cant edit/insert nubmers smaller 0.01, it automatticaly changes any value smaller than 0.01 to 0.01
https://prnt.sc/odj6ep
improvements:
would it be possible to make the number changing process similar to nuke (ctrl+left click,alt or shift), without need to click and then type or click and slow change?
https://gph.is/g/ZPO2YB7
Thank you for your feedback. The bug has been fixed since: https://gitlab.com/filmkorn/nuke_node_table/-/archive/master/nuke_node_table-master.zip
I agree, it would be great to have the same knob editing behaviour in the node table as in the properties bin.
self.widget = self.widgetClas s()
File "D:\ls\NodeTabl e/menu.py", line 4, in get_node_table_ widget
return node_table_view .NodeTableWidge t(nuke.selected Nodes())
File "D:\ls\NodeTabl e\node_table\vi ew.py", line 478, in __init__
self.table_mode l = model.NodeTable Model()
File "D:\ls\NodeTabl e\node_table\mo del.py", line 366, in __init__
self.palette = get_palette() # type: QtGui.QPalette
File "D:\ls\NodeTabl e\node_table\mo del.py", line 48, in get_palette
return app.palette(wid get)
I tried it in Nuke 12 and could not replicate this issue. The actual error message is missing in the traceback you posted. Can you post the error you are seeing in script editor or terminal, please?
Traceback (most recent call last):
File "/usr/local/Nuk e12.0v3/plugins /nukescripts/pa nels.py", line 153, in makeUI
self.widget = self.widgetClas s()
File "/ohufx/pipelin e/tools/nuke/py thon/node_table _v2.2/menu.py", line 4, in get_node_table_ widget
return node_table_view .NodeTableWidge t(nuke.selected Nodes())
File "/ohufx/pipelin e/tools/nuke/py thon/node_table _v2.2/node_tabl e/view.py", line 478, in __init__
self.table_mode l = model.NodeTable Model()
File "/ohufx/pipelin e/tools/nuke/py thon/node_table _v2.2/node_tabl e/model.py", line 366, in __init__
self.palette = get_palette() # type: QtGui.QPalette
File "/ohufx/pipelin e/tools/nuke/py thon/node_table _v2.2/node_tabl e/model.py", line 48, in get_palette
return app.palette(widget)
AttributeError: 'PySide2.QtCore .QCoreApplicati on' object has no attribute 'palette'
Seems to be caused by a bug in Qt: https://bugreports.qt.io/browse/PYSIDE-1164
Fixed in 2.3: https://gitlab.com/filmkorn/nuke_node_table/-/archive/2.3.0/nuke_node_table-2.3.0.zip
Will update the nukepedia version soon.
Looks like Qt crashes Nuke if the panel is saved to the default layout. Unfortunately this bisects to the workaround to get the QApplication instead of the QCoreApplicatio n. Furtunately the default palette also seems to work and returns the same values as the QApplication's palette. Will update shortly.
is not working for me. my Nuke version is 10.05
can you please help.
RSS feed for comments to this post