- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need to batch export a huge amount of files (around 80 000) from .MAX to .FBX format. The files are from different versions of .MAX so there are prompts showing up.
I've done the export successfully when opening files manually and then running my export Max script. When opening the files manually I answer some prompts, note that if I don't answer them, the models can't be opened.
When doing it through my bash script, I suppose that the automated answers (if there are any) aren't the correct ones. Below is my line of code that calls the batch program from my WLS environment (Linux environment on Windows). To clarify, everything compiles fine and the export is done, just that the exported .FBX file is 8 kb and can't be opened.
/mnt/c/"Program Files"/Autodesk/"3ds Max 2019"/3dsmaxbatch.exe $EXPORT_SCRIPT -dm yes -mxsString out:$OUT_PATH -mxsString file:"/$FILENAME_WO_EXTENSION" -listenerLog "C:\Users\Max\Documents\test.log"
I've experimented with the -dm flag, without any luck.
See the prompts and my answers in red. I suppose that I need to make these answers default in my script, in some way.
Solved! Go to Solution.

