I found that the description of mtoa mel command is incomplete, only the flag name, without any specific instructions!
https://docs.arnoldrenderer.com/display/A5AFMUG/Mel+Commands
What does "-ofn -origFileName" do? what is that "original file"??
What does "-srv -saveToRenderView" do??
Is there a document for mtoa API??
Solved! Go to Solution.
Solved by Stephen.Blair. Go to Solution.
It's not really a public API. Those mel commands were developed for internal use by mtoa. A lot of the mel and Python commands are tied to the MtoA user interface.
origFileName is not even used in the code. Probably it was meant to deal with the fact that Maya creates a temporary copy of the scene file when you batch render.
saveToRenderView corresponds to the option in the Render > Render Sequence menu command in Maya