I am trying to use that python script in Nuke 16 and all the time receiving an error message:
"Could not find the Node Graph"
I found the issue. The _get_node_graph_widget() function is looking for a QGLWidget — but Nuke 16 switched from OpenGL widgets (QGLWidget) to QOpenGLWidget as part of Qt6/PySide6 migration. That's why it always returns None and you get the "Could not find the Node Graph" error.
Thank you!
I am trying to use that python script in Nuke 16 and all the time receiving an error message:
"Could not find the Node Graph"
I found the issue. The _get_node_graph_widget() function is looking for a QGLWidget — but Nuke 16 switched from OpenGL widgets (QGLWidget) to QOpenGLWidget as part of Qt6/PySide6 migration. That's why it always returns None and you get the "Could not find the Node Graph" error.
Thank you!