Happy Friday everyone!

I'm hoping I'm just completely missing the mark here. I'm reworking
some auto-scene setup scripts for my artists and for the current job
we're using mostly mentalray instead of renderman. I need to switch
the image format to EXR.

The image formats translate to numerical values:
mentalrayFormats = {'pic':1, 'rla':2, 'tif':3, 'rgb':5, 'als':6, 'jpg':
8, 'eps':9,
                                'yuv':12, 'tga':19, 'bmp':20, 'psd':31, 
'png':32}

mc.setAttr( 'defaultRenderGlobals.imageFormat', 3 ) #if I wanted to
switch to tif

Other than the formats in the dict above, all other formats are value
of 51... how do I switch to exr via python if all the other formats
default to 51? Is there another way to change this setting? Thanks
folks.
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to