Batch Utility Executing 3dsmax.exe with args - Licensing Issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I've created a utility that executes 3dsmax.exe with some arguments, including -u MAXScript "<some file here>".
I am processing over a thousand fbx files using a maxscript to import, remove helpers, add materials, fix transforms/coordinate system, combine geometry, and finally export to another fbx that is ready for use in a game engine. This means that over the span of an hour or so, I would have launched 3dsmax.exe once per file.
Unfortunately the batch process is continuously interrupted by a licensing issues:
It is not consistent. It occurs for both a floating subscription license, and other PC's that have an entered key.
Occurs for both 2017 and 2018. This error still occurs even when I boot up 3ds max manually and leave it open (hoping to keep the license obtained), seems to have no effect.
I don't know if it's the frequency, but it happens many times when I process 100+ files. I've had to add a timeout mechanism so my program can continue.
The error is 100% reproducible when I increase the concurrency (i.e. up to 4 max instances running at the same time on different files). Still occurs when I limit it to 1 instance with delays between closing and opening a new one. A single file takes approximately 2-5 minutes each.