<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Rendering MR with Python? in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/rendering-mr-with-python/m-p/4291248#M14681</link>
    <description>Hi Folks,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;cmds.render seems to only do software&lt;BR /&gt;cmds.Mayatomr I can't figure out how to start the render with this one&lt;BR /&gt;&lt;BR /&gt;So is there a command like &lt;BR /&gt;&lt;BR /&gt;cmds.RenderWithMentalRay(camera = 'MyCam', file = 'C:/Stuff/Myfile.png, format = '.png')&lt;BR /&gt;&lt;BR /&gt;That's what I desire.&lt;BR /&gt;&lt;BR /&gt;Thank you very much!!&lt;BR /&gt;&lt;BR /&gt;-B</description>
    <pubDate>Wed, 15 May 2013 00:16:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-05-15T00:16:23Z</dc:date>
    <item>
      <title>Rendering MR with Python?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/rendering-mr-with-python/m-p/4291248#M14681</link>
      <description>Hi Folks,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;cmds.render seems to only do software&lt;BR /&gt;cmds.Mayatomr I can't figure out how to start the render with this one&lt;BR /&gt;&lt;BR /&gt;So is there a command like &lt;BR /&gt;&lt;BR /&gt;cmds.RenderWithMentalRay(camera = 'MyCam', file = 'C:/Stuff/Myfile.png, format = '.png')&lt;BR /&gt;&lt;BR /&gt;That's what I desire.&lt;BR /&gt;&lt;BR /&gt;Thank you very much!!&lt;BR /&gt;&lt;BR /&gt;-B</description>
      <pubDate>Wed, 15 May 2013 00:16:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/rendering-mr-with-python/m-p/4291248#M14681</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-15T00:16:23Z</dc:date>
    </item>
  </channel>
</rss>

