Output file path on CustomSanityCheck

Hi,

We are creating a CustomSanityCheck.mel for our farm in order to set some parameters by default and everything works fine (priority, pool, etc.) except setting the output file path. I use the command:

AddStringAttribute( “deadlineOutputFilePath” );
setAttr defaultRenderGlobals.deadlineOutputFilePath -type “string” $filePath ;

But nothing changes in the Deadline Submitter and Maya doesn’t return any console errors. Any hint about what I’m doing wrong? We use Maya 2015 SP6 and Deadline 7.0.2.3R.

Thanks!

Hello,

I am told that in the current submitter for Deadline 7, all code having to do with deadline output FIle Path should have been removed. Can you clarify what your goal is here?

We save all image files in our server with unit/project/sequence/shot/version/image.exr structure. When someone of the lighting department sends something to our farm through Deadline Submitter, they have to set that path manually and we want to save time setting by default the output file path and prevent that someone accidentally uses another path. Though the correct way to do that was using setAttr defaultRenderGlobals.deadlineOutputFilePath, but If you say that piece of code shouldn’t exist, Is there any other way to set the output file path?

Hello,

I had one of our devs look this over further and their answer was

We are currently using the function we defined GetImageDirectory() which appends (workspace -q -fileRuleEntry “images”) to (workspace -q -fullName) swapping slashes as necessary. These are pulled from the scene, and set the Output path in the submitter. I do not believe that there is a way of using a sanity check for it.