Each view/display option in Nuke's viewer is just a reference to a ViewerProcess, which under the hood points to an arbitrary node. So you can do:import nukenuke.ViewerProcess.register(name='My Cool View',call=nuke.nodes.OCIODisplay,args=(),kwargs={'display': display, 'view': view, 'layer': 'all'})If you want to remove an existing option first, do for example:nuke.ViewerProcess.unregister('sRGB')API reference: https://docs.thefoundry.co.uk/nuke/100/pythonreference/
--
You received this message because you are subscribed to the Google Groups "OpenColorIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ocio-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to ocio-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenColorIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ocio-users+...@googlegroups.com.