Did you initialize maya standalone?

import maya.standalone
maya.standalone.initialize()

Also, do you need to be able to call the mel command, or can you use the
maya cmds module?
http://download.autodesk.com/global/docs/maya2014/en_us/CommandsPython/batchRender.html




On Fri, Jan 31, 2014 at 8:55 AM, <[email protected]> wrote:

> Hi
>
> I am trying to render via mayapy.
> I am calling
>
> maya.mel.eval('mayaBatchRenderProcedure(0, "", "", "'+str(Renderer)+'",
> "")')
> mayaBatchRenderProcedure is found, but then I get the error message:
>
> RuntimeError: Error occurred during execution of MEL script
> line 1: file: C:/Program
> Files/Autodesk/Maya2012/scripts/others/mayaBatchRenderProcedure.mel line
> 319: Cannot find procedure "rendererRenderTargetSupport".
>
>
> Any ideas how to solve this?
>
>
> Thanks,
> Holger
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/a8cc6cc2-882d-4573-8350-59560f601385%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0zua4wayZneLVjJB2gvc7Z8p2OFMPAiGVvzA2JFzS-kQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to