I asked the same things a while back. There's a thread called "set default colorspace by extension" if you want to search.
Essentially it boils down to overriding dropData and create_read(). To override create_read(): Define my_create_read() in your init.py and then override the default create_read() like so: nukescripts.create_read = my_create_read -Paul On Thu, Dec 15, 2011 at 11:38 AM, Nick Guth <[email protected]> wrote: > Is there a way to have the colorspace of the read node be set per file > type? For example, every dpx would come in as srgb, exr's as linear, etc. I > used to have everything set to srgb in my menu.py, but now some of our > shows are coming in linear exrs and it's just an extra "uh oh" step if > someone didn't remember to set it properly. > > Thanks! > > -- > Nick > > _______________________________________________ > Nuke-users mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users >
_______________________________________________ Nuke-users mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
