No problem. :) On 15 July 2015 at 22:34, Tim Crowson <[email protected]> wrote:
> Thanks, Marcus! > > On Wed, Jul 15, 2015 at 2:32 PM Marcus Ottosson <[email protected]> > wrote: > >> That’s right, you can look them up in the Node documentation, but what >> you searched for was not the node *type*, it was their name. Their type >> is listed to the left of it’s name in the Attribute Editor. >> >> [image: Inline images 1] >> >> This node is of type: resolution. >> >> - >> >> http://help.autodesk.com/cloudhelp/2015/ENU/Maya-Tech-Docs/Nodes/resolution.html >> >> >> >> On 15 July 2015 at 18:52, Tim Crowson <[email protected]> wrote: >> >>> Oh, and I figured I would take a look at the Node and Attribute >>> Reference section in the docs, but that doesn't list even the nodes you've >>> pointed me to here. defaultRenderGlobals and defaultResolution aren't even >>> listed there. Is there a place where I can get a more accurate list of >>> nodes? (on 2016 SP1 here) >>> >>> On Wed, Jul 15, 2015 at 12:44 PM Tim Crowson <[email protected]> wrote: >>> >>>> Thanks, I figured those attrs were on a different node, but I didn't >>>> know what node to look at. >>>> >>>> For setting framerate, am I right in thinking I need to target yet >>>> another node, some preference node? I can work with attributes, as long as >>>> I know which node I need. I just don't know what nodes are out there and >>>> which ones have the attributes I want... >>>> >>>> Thanks for your help! >>>> >>>> On Wed, Jul 15, 2015 at 12:40 PM Kurian O.S <[email protected]> wrote: >>>> >>>>> Okay defaultRenderGlobals, defaultRenderQuality and defaultResolution >>>>> those are separate nodes in maya, if you want to get rez then >>>>> cmds.getAttr("defaultResolution.width") >>>>> cmds.getAttr("defaultResolution.height") >>>>> >>>>> As Marcus said you can select each of them and see what attrs there :) >>>>> >>>>> On Wed, Jul 15, 2015 at 10:22 AM, Tim Crowson <[email protected]> >>>>> wrote: >>>>> >>>>>> Thanks. I've used this for certain attributes, but I can't figure out >>>>>> resolution specifically. >>>>>> >>>>>> For example, *cmds.getAttr("defaultRenderGlobals.resolution")* >>>>>> throws an error: "Error: Message attributes have no data values." Hence >>>>>> some confusion.... >>>>>> >>>>>> >>>>>> On Wed, Jul 15, 2015 at 11:40 AM Kurian O.S <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> 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 >>>>>>> <https://groups.google.com/d/msgid/python_inside_maya/CANEMyhOiiGvCr9Bbjq6NPYMEG_4sSGhXqoU7DY6Teo%2BN-mvzPA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> -- >>>>>> 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%3D1b%3Dw3GkHVzvNiFgHodRz_W28SqCjyqcfbTWVHF%3Dw8VY3nQ%40mail.gmail.com >>>>>> <https://groups.google.com/d/msgid/python_inside_maya/CAPh%3D1b%3Dw3GkHVzvNiFgHodRz_W28SqCjyqcfbTWVHF%3Dw8VY3nQ%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/CANEMyhNzE36W9jTEbEX7YpaJ7qtVDBDNBdUN%3DFx0-8X-%2B%2Buafw%40mail.gmail.com >>>>> <https://groups.google.com/d/msgid/python_inside_maya/CANEMyhNzE36W9jTEbEX7YpaJ7qtVDBDNBdUN%3DFx0-8X-%2B%2Buafw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >>> 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%3D1bnvpLCMXs9JDTgaXggJeDUjQpQj6ivtkoQ8JLNL01z0MQ%40mail.gmail.com >>> <https://groups.google.com/d/msgid/python_inside_maya/CAPh%3D1bnvpLCMXs9JDTgaXggJeDUjQpQj6ivtkoQ8JLNL01z0MQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >> >> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> *Marcus Ottosson* >> [email protected] >> >> -- >> 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/CAFRtmOBS2LBQSZCp_ywCRJiw2d8Ds3WLCQP8KcE0pRdZYJFQQg%40mail.gmail.com >> <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBS2LBQSZCp_ywCRJiw2d8Ds3WLCQP8KcE0pRdZYJFQQg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > 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%3D1bnrBAGH%2BfH7mQ1qY4Fr8SGppw71fL99fmXP6rtRKqub3Q%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAPh%3D1bnrBAGH%2BfH7mQ1qY4Fr8SGppw71fL99fmXP6rtRKqub3Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- *Marcus Ottosson* [email protected] -- 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/CAFRtmOC_Oh5hPR9vms1q%3DC11fBbxAnYJbNqaCBkEr-S-N3t5dQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
