It works finally, even without a wrapper.
I found that if I start the command by :
SET PYTHONPATH = &&mayabatch...
it works. I've tried this before but I used a semicolon seperator, and it doesn't work. The semicolon doesn't interpret the right part of the command.
Search found 3 matches
- Tue Apr 11, 2017 7:51 am
- Forum: Maya
- Topic: The right way to maya batch?
- Replies: 3
- Views: 10545
- Mon Apr 10, 2017 5:47 pm
- Forum: Maya
- Topic: The right way to maya batch?
- Replies: 3
- Views: 10545
Re: The right way to maya batch?
hello, and thanks for your quick answer! I try to make a wrapper like this : set PYTHONHOME= start "" "C:\Program Files\Autodesk\Maya2016\bin\mayabatch.exe" %* and add it with python like this (wit no service) task.setCommand('"d:\\mayabatch.cmd" ls2_ch_jessica_mdl.ma -...
- Sun Apr 09, 2017 8:11 pm
- Forum: Maya
- Topic: The right way to maya batch?
- Replies: 3
- Views: 10545
The right way to maya batch?
Hello there ! I used cgru for blender since a few years with happiness :) but now I've to work with Maya. I would like to Maya batch some alembic export. I've written a little python script and everything runs fine when I launch Maya batch in CLI, like this : mayabatch ls2_ch_jessica_mdl.ma -command...