AdamMax
10-29-2010, 02:06 AM
Hi guys.
I'm trying to launch 3dsMax from the dos cmd line, open a specified file and export to a specified location.
From the cmd line, the following actually starts up max and opens the file I point it to, however it instantly shuts down max afterwords and does not export.
3dsmax.exe -mxs "loadMaxfile C:\\tmp\\testmax.max; exportFile c:\\tmp\\exportdir\\exported.3DS"
Even the following by itself shuts max down instantly after opening the file, which wouldn't be such a problem because I eventually want to shut down max after exporting, only that I think it's interrupting the export process.. maybe?
3dsmax.exe -mxs "loadMaxfile "C:\\tmp\\testmax.max"
I tested the export section in the listener and it exports a file just fine
exportFile "c:\\tmp\\exportdir\\exported.3DS"
Any help would be appreciated.
Regards,
Adam
I'm trying to launch 3dsMax from the dos cmd line, open a specified file and export to a specified location.
From the cmd line, the following actually starts up max and opens the file I point it to, however it instantly shuts down max afterwords and does not export.
3dsmax.exe -mxs "loadMaxfile C:\\tmp\\testmax.max; exportFile c:\\tmp\\exportdir\\exported.3DS"
Even the following by itself shuts max down instantly after opening the file, which wouldn't be such a problem because I eventually want to shut down max after exporting, only that I think it's interrupting the export process.. maybe?
3dsmax.exe -mxs "loadMaxfile "C:\\tmp\\testmax.max"
I tested the export section in the listener and it exports a file just fine
exportFile "c:\\tmp\\exportdir\\exported.3DS"
Any help would be appreciated.
Regards,
Adam
