Rendering MR with Python?

Rendering MR with Python?

Anonymous
Not applicable
399 Views
0 Replies
Message 1 of 1

Rendering MR with Python?

Anonymous
Not applicable
Hi Folks,

I'm trying to setup a tool that renders out thumbnails of meshes with different cameras. Things are going along nicely but I can't figure out a very important python command.

How can I render a single frame with Mental Ray through a Python command? I need to be able to specify the name of the image to be outputted as well as the camera that will do the rendering.

cmds.render seems to only do software
cmds.Mayatomr I can't figure out how to start the render with this one

So is there a command like

cmds.RenderWithMentalRay(camera = 'MyCam', file = 'C:/Stuff/Myfile.png, format = '.png')

That's what I desire.

Thank you very much!!

-B
0 Likes
400 Views
0 Replies
Replies (0)