Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Batch Utility Executing 3dsmax.exe with args - Licensing Issues

Batch Utility Executing 3dsmax.exe with args - Licensing Issues

SentientComputingAU
Contributor Contributor
354 Views
1 Reply
Message 1 of 2

Batch Utility Executing 3dsmax.exe with args - Licensing Issues

SentientComputingAU
Contributor
Contributor

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:

 

Licensing Error.png

 

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.

0 Likes
355 Views
1 Reply
Reply (1)
Message 2 of 2

natasha.l
Alumni
Alumni

Hello @SentientComputingAU,

 

Thank you for posting. Not sure how the utility you created works but have you tried disabling UAC, when opening multiple instances this can occur. 

 

I hope this was helpful. Smiley Happy

 

 

0 Likes