Hey Frank thanks a lot, i tested and it works well, since im using 5.1V2,to set the viewer to linear display by default:
CODE
nuke.knobDefault('Viewer.display_lut', 'linear')
, CODE
nuke.knobDefault('Root.format', 'HD')
,
the above scripts worked well in int.py,
and the new format 720P addition worked in format.TCL.
anyways ur script helped me to achieve it.
thanks & best regards,
Nishok A
In your menu.py put these lines:
to set the viewer to linear display by default:
CODE
nuke.knobDefault('Viewer.display_lut', 'linear')
to create a new format that shows up in all the format lists:
CODE
nuke.addFormat('1280 720 _720P')
to assign that new format as the default for new scripts:
CODE
nuke.knobDefault('Root.format', '_720P')
Cheers,
frank