Mayatomr batch render MEL/Python command not working

Mayatomr batch render MEL/Python command not working

Anonymous
Not applicable
1,325 Views
5 Replies
Message 1 of 6

Mayatomr batch render MEL/Python command not working

Anonymous
Not applicable

I've been trying to batch render with Mental Ray using Mayatomr and it just doesn't do anything. Even the example in the documentation doesn't work:

 

cmds.Mayatomr( render=True, layer='occlusionLayer', xResolution=1024, yResolution=1024 )

(I changed the layer name of course)

 

The preview command works but not the batch render one. I tried Python and MEL and no luck. Is it a known issue? Is there a workaround?

 

Thanks,

-Stef

1,326 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable

I'm having this problem too. Using this command is the only reason I bought a full version of Maya, so this is a huge problem. Autodesk Support, please advise.

0 Likes
Message 3 of 6

Anonymous
Not applicable

By the way, I'm on Maya 2016 SP4 and downloaded the SP and Mental Ray plugin here:
https://knowledge.autodesk.com/support/maya/downloads/caas/downloads/content/autodesk-maya-2016-serv...

 

And running a batch render through the Maya Batch Render GUI works just fine, it's only the MEL/Python commands that don't seem to be working.

0 Likes
Message 4 of 6

Anonymous
Not applicable

Having the exact same issue.  

 

I would like to be able to issue file names and save locations in my script - and also have access to the commands in the renderWindowEditor, such as specifiying the Gamma manually, while batch rendering with mental ray.  

 

Any advice on how to combine these commands, or access this functionality much appreciated.  

0 Likes
Message 5 of 6

xtvjxk123456
Enthusiast
Enthusiast

me too,same issue,anyone can help?

0 Likes
Message 6 of 6

0001des
Enthusiast
Enthusiast

Same here.  mayatomr doesn't seem to do anything.  I take it there is no official  solution for this.  Autodesk, Bueller, Autodesk, Bueller, anyone there?

0 Likes