Hi! I wondering if someone has an idea of how to replace the Precomp-dialog Class?
*Basically I want to replace the defaults on where to store the precomp script.* My futile attempts looks along the lines of this: import nukescripts class MyPrecompOptionsDialog( nukescripts.panels.PythonPanel ): def __init__( self ): nukescripts.panels.PythonPanel.__init__( self, "MY Precomp Nodes", "uk.co.thefoundry.PrecompOptionsDialog" ) self.scriptPath = nuke.File_Knob( "script", "Precomp script path " ) *... the original precomp code ...* #Replace! original_precomp_dialog = nukescripts.PrecompOptionsDialog nukescripts.PrecompOptionsDialog = MyPrecompOptionsDialog but, when I run the precomp code the original dialog pops up.
_______________________________________________ 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