Re: [Maya-Python] how to get parameters from render settings

2013-08-18 Thread Kurian O.S
You can also use listAttr to get all the available attrs from a node On Sunday, August 18, 2013, Christopher Stewart wrote: > Most setting changes will be reflected in the script editor's output. So: > > setAttr "miDefaultOptions.maxSamples" 2; > > could become: > > import maya.cmds as cmds > cmd

Re: [Maya-Python] how to get parameters from render settings

2013-08-18 Thread Christopher Stewart
Most setting changes will be reflected in the script editor's output. So: setAttr "miDefaultOptions.maxSamples" 2; could become: import maya.cmds as cmds cmds.setAttr('miDefaultOptions.maxSamples', 2) The Python syntax is often very similar and easy to convert. You could use the "getAttr" comm

[Maya-Python] how to get parameters from render settings

2013-08-18 Thread Arjun Thekkummadathil
Hi I am trying to write a code to do some checks for render parameter and i would like to know how to access the parameters on the render settings>quality tab for example how to check if unified sampling is checked on/off am using maya 2012 -- You received this message because you are subscribed