The exported file ends up actually being called “deadlineStartupMax2016.fbx”. So I added to the script to renamefile, but it remains “deadlineStartupMax2016.fbx”.
The script sends several files to deadline for rendering bakes. The last file sent is dependent on all previous. When the last bake is rendered, it also exports the FBX.
I’m pretty sure you can’t export or save a max scene file without the requirement to checkout a 3dsMax GUI license (a.k.a WorkStation Mode). You could enable this setting to confirm if that is indeed the case here. If so, then this is a restriction put in place by Autodesk licensing for 3dsMax.
Originally, Autodesk made sure that 3ds Max running in network (Slave) mode without a license cannot export any data. This included saving the .MAX file itself, or using any exporter.
I am very surprised that the FBX file ended up being exported correctly, as it is not supposed to work according to Autodesk’s rules.
As Mike suggested, try forcing the job to Workstation mode (assuming your slaves can get a valid Max license), and see if anything changes… If it still does not work, we will have to look deeper.
Ah, I stand corrected then. Save 3dsmax scene file = no, export=yes.
The fbx filename is coming from the Lightning startup max scene file via Deadline, which is overriding your FBX filename for some reason…
EDIT: I’m going to check the latest Autodesk 3dsMax EULA…this feels like a license behavioural change here. Did Autodesk de-license the export function in slave mode? How odd…