So, I’m now overriding nukescripts.render_panel so that I can get some user
input on things before actually triggering the render. Nice!

However, when the user has done their selection in my custom dialog, I want
to take the original arguments passed to render_panel and push those on to
the actual render_panel. For some reason I’m getting a TypeError when doing
that: “TypeError: expecting a Nuke node type”.

This can be reproduced by running the following code:

>>> nukescripts.showRenderDialog(('Write1',), False)# Result: Traceback (most 
>>> recent call last):
  File "<string>", line 1, in <module>
  File "...plugins\nukescripts\renderdialog.py", line 892, in showRenderDialog
    d.run()
  File "...plugins\nukescripts\renderdialog.py", line 331, in run
    nuke.executeMultiple(self._nodeSelection, frame_ranges, views,
continueOnError = self._continueOnError.value())
TypeError: expecting a Nuke node type

I’ve also tried running this but with the same error:

nukescripts.render_panel(('Write1',), False)

Any idea why that’s happening?

Cheers,
Fredrik
​
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to