You're doing the override correctly. It's not working becuse the Write node calls *nukescripts.render_panel*, not renderdialog. Just switch to that.
/Simon ------------------------------- Simon Björk Compositor/TD +46 (0)70-2859503 www.bjorkvisuals.com 2017-03-09 10:06 GMT+01:00 Fredrik Averpil <fred...@averpil.com>: > Hi, > > I’m looking to display a dialog before executing a local render. This > means I’d like to override the nukescripts.renderdialog.showRenderDialog > function somehow. > > How can this be done? > Even if I set this function to my own function, it seems the Write node’s > “render” button is calling the original function: > > nukescripts.renderdialog.showRenderDialog = my_custom_function > > So: how can I show my custom dialog whenever the user clicks the “Render” > button of a Write node? > > // 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 > >
_______________________________________________ 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