This topic covers the version of 3ds Max Batch included in 3ds Max 2018.2 and 2018.3 Updates. In those versions, batch mode was invoked by passing the -batch flag to 3dsmax.exe. As of 3ds Max 2018.4 Update, 3ds Max Batch is a stand-alone executable, and includes many more options.
start /wait 3dsmax.exe -batch [-mxs <mxs_commands>] [-U MAXScript | PythonHost <script_file>] [max_file]
.
3ds Max starts in silent mode and loads the max_file if one is provided. It executes the script_file if one is provided, and executes the mxs_commands if any are provided. It then exits.
| Command | Description |
|---|---|
| 0 | Process exited normally. Identical to the stdlib value to EXIT_SUCCESS. |
| 1 | Process exited abnormally. Similar to the stdlib value for EXIT_FAILURE. |
| -1 | Unhandled exception. |
| -2 | Execution aborted by 3ds Max Batch. |
| -3 | Unhandled exception while processing the WM_CLOSE window message. |
| -4 | Unhandled exception while processing the WM_DESTROY window message. |
| -8 | License Error. Could not obtain a valid license. |
| -9 | Could not create the application. |