- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I have over a thousand fbx files which have to be processed and optimised for use in a Unity3d game. I have a single maxscript that performs all the actions I need without any user interaction.
The script performs an FBX import, assigns materials based on name, combines geometry, adds UV mapping, fixes transforms, and finally an FBXExport. The 3dsmax process ends after that when using the -mxs command line argument, as expected.
I've also written a program that executes 3dsmax.exe with the arguments, so the maxscript is executed once per input file. The program supports running multiple max processes (limit set by user) to improve the speed at which they are processed.
It works well, but I have continuous issues with the licensing popping up and interrupting the process, even if I run only 1 instance at a time, and introduce delays between when the last process (3dsmax.exe) finishes, and a new one is started.
It's really disrupting the workflow. I've had to add a timeout mechanism for each file
These are the arguments I'm using
-u MAXScript "<Path to script file" -silent -vn -q -mip -mxs "print \"Finished\""
Using max 2018
Solved! Go to Solution.

