- Wed Jan 12, 2011 8:33 pm
#336089
Hello,
I am trying to automate the mxs export process so I can run it on our farm to speed things up.
I am trying the following as a test:
"C:\Program Files\Autodesk\Maya2011\bin\mayabatch.exe" -file "D:\path\to\file.mb" -command 'file -force -options "useActiveCam=1;animation=1;protection=0;packngo=0;" -type "MaxwellScene" -pr -ea "D:/Test.mxs"'
and getting various errors such as "Invalid use of maya object "animation".
Before I dig into this further, is exporting via mayabatch.exe even possible? Does mayabatch load the maxwell plugin? Our other renderers seem to load because it shows up in the log. I'd prefer not to bring up an entire GUI instance of maya.exe because it eats an entire float license of Maya.
I am trying to automate the mxs export process so I can run it on our farm to speed things up.
I am trying the following as a test:
"C:\Program Files\Autodesk\Maya2011\bin\mayabatch.exe" -file "D:\path\to\file.mb" -command 'file -force -options "useActiveCam=1;animation=1;protection=0;packngo=0;" -type "MaxwellScene" -pr -ea "D:/Test.mxs"'
and getting various errors such as "Invalid use of maya object "animation".
Before I dig into this further, is exporting via mayabatch.exe even possible? Does mayabatch load the maxwell plugin? Our other renderers seem to load because it shows up in the log. I'd prefer not to bring up an entire GUI instance of maya.exe because it eats an entire float license of Maya.
mo cores, mo problems

- By Gaspare Buonsante 20200309160206