welcome to maya world ;)
if you do a listAttr on renderglobals you will see all the attrs which
connected to renderglobals eg :
cmds.listAttr("defaultRenderGlobals")
# Result: [u'message', u'caching', u'isHistoricallyInteresting',
u'nodeState', u'binMembership', u'macCodec', u'macDepth', u'macQual',
u'comFrrt', u'renderAll', u'ignoreFilmGate', u'quality', u'resolution',
u'clipFinalShadedColor', u'enableDepthMaps', u'enableDefaultLight',
u'currentRenderer',etc .....] # list was long so i just removed bunch of
items
then you can say
cmds.setAttr("defaultRenderGlobals.imageFormat", 8) #this will set jpg as
image format.
Hope this help
On Wed, Jul 15, 2015 at 8:07 AM, Tim Crowson <[email protected]> wrote:
> Hey folks,
>
> I did a quick search through this group's threads and couldn't really find
> the answers I was looking for...
>
> I am still quite a novice with how Maya does things. I touched the tip of
> the iceberg a few months ago but got pulled onto other things. I'm
> struggling with how to set render settings in Maya. Specifically, I'm
> wanting to set things like render resolution, aspect ratio, image format,
> render cam.
>
> On a related note, I'm also curious about how to set render paths
> properly. In Softimage there is a root path field in the scene settings,
> but Maya seems to want to me to set this in the Project Settings. Any
> insight here?
>
> Thanks for your help! Someday I won't be a Maya noob anymore, I promise.
>
> -Tim
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CAPh%3D1bnFvhgVG%2BPKW%3DqFs4d08%3DfqoHuaWekRTsihm4mPVxeVeA%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CAPh%3D1bnFvhgVG%2BPKW%3DqFs4d08%3DfqoHuaWekRTsihm4mPVxeVeA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
--:: Kurian ::--
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CANEMyhOiiGvCr9Bbjq6NPYMEG_4sSGhXqoU7DY6Teo%2BN-mvzPA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.