Hello, I want to know if maya is rendering or not, so after reading
documentation I've tried that :



import maya.OpenMayaRender as OMR


currentState = OMR.MRenderUtil.mayaRenderState()
if (currentState==OMR.MRenderUtil.kBatchRender):
        print "batch render!"
else:
        print "other rendering... or not!"



but it's not working, do you know how can i get this information ?
Thank you.

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to