install as override¶
This method will fully override the default Write node render dialog.
-
Copy localorender.py
to your local nuke path (
~/.nuke
) - At the same location, open the
menu.py
file (or create it) and add the following content inside:
import nukescripts
import localorender
nukescripts.showRenderDialog = localorender.nukescript_showRenderDialog()
optional configuration¶
You can also optionally add the following lines:
localorender.configure_logging()
It's possible to set the configuration in which the tool open using the
uibuilder
argument:
import nukescripts
import localorender
uibuilder = localorender.UiBuilder(
# open the UI with all writes nodes loaded by default
node_selection_mode=localorender.WriteNodeSelectorWidget.option_all,
# prevent to use the Settings system (if bugged)
lock_settings=True,
)
nukescripts.showRenderDialog = localorender.nukescript_showRenderDialog(uibuilder=uibuilder)