Hey guys, i have a problem here. Whenever i submit a job to Deadline with the Max SMTD-Tool and i need the VFB-Framestamp, the filename is set to DeadlineStartUpMax2010.max. How can i change this to display the actual filename of the scene and not the deadline default? Thanks in advance.
DeadlineStartUpMax2010.max is initially loaded by 3dsmax when rendering through Deadline, and there isn’t a way to avoid that. I seem to recall a bug in 3dsmax where the maxscript call to get the scene file name always returned the initial scene file that was loaded, not subsequent ones (we actually had Deadline code that broke because of this bug and we had to workaround it). I’m not sure if the bug has been fixed in later versions of 3dsmax…
So long story short, there may not be a way to workaround this.
Mmmh thats sad to be honest. It was a good way for us to keep track of which rendering belongs to which file.
But anyway thanks for your quick reply!
The “bug” persists in 3dsmax 2011 and 2012, but there may be another option. How do you currently add the scene file name to the frame stamp? Is it a maxscript call? If it is, you could use this in the context of a Deadline render instead of “maxFileName”:
DeadlineUtil.SceneFileName
Or to handle both cases, you could this:
if( DeadlineUtil == undefined ) then ( maxFileName ) else ( DeadlineUtil.SceneFileName )
Cheers,
- Ryan