Hi.
We are using a script to dispatch various render cameras to deadline from within a single file. As some cameras use different aspect ratios, we do need to set these prior to saving the respective files.
However, we do run into the following problem: When we set the width and height of the output image manually from within the GUI, Maya automatically sets the correct device aspect ratio and everything renders fine. When we do it through pymel, however:
the device aspect remains unchanged from whatever it was set to, originally, causing the images from deadline to appear 'zoomed out', of course. We cannot seem to change the device aspect through pymel, so my question is: Does anyone have an idea how we could do this within our script? Is there a way to force update the device aspect ratio? Or can it be changed manually through pymel?
Thanks in advance,
J
We are using a script to dispatch various render cameras to deadline from within a single file. As some cameras use different aspect ratios, we do need to set these prior to saving the respective files.
However, we do run into the following problem: When we set the width and height of the output image manually from within the GUI, Maya automatically sets the correct device aspect ratio and everything renders fine. When we do it through pymel, however:
Code:
pc.setAttr( 'vraySettings.width', 2250 ) pc.setAttr( 'vraySettings.height', 4096 )
Thanks in advance,
J
Comment