problems with post render maxscript

Doing some testing with deadline 7.1 and 3dsmax 2016. We can’t get a simple one line test to work with deadline.

just running a simple one line throws an error in deadline.
Pyramid widthsegs:1 depthSegs:1 heightsegs:1 width:19.6222 depth:17.7426 height:20.2188

Error: RenderTask: Unexpected exception (Maxscript exception:-- Unable to convert: $Pyramid:Pyramid001 @ [0.000000,0.000000,0.000000] to type: String

He have tried command line, the submit in the deadline monitor and your maxscript submitter. All throw an error.

Any trick to this?

A MAXScript run by Deadline MUST return a valid result signifying whether the script succeeded or not. It can be either a Boolean (True or False), or a String value containing the equivalent (“True” or “False”).

A one-liner that returns a MAXObject value does not return a success of failure value, and is thus producing an error.
You can change your script to either

Pyramid widthsegs:1 depthSegs:1 heightsegs:1 width:19.6222 depth:17.7426 height:20.2188 True
if the outcome of the actual object creation plays no role, or

isValidNode (Pyramid widthsegs:1 depthSegs:1 heightsegs:1 width:19.6222 depth:17.7426 height:20.2188)

if the return result of the pyramid creation should tell Deadline whether a valid object was created or not.

This is documented under docs.thinkboxsoftware.com/produc … ipt-script

It says

Hope this helps!

Oh yes, return true.

Sorry my bad :open_mouth: . All works now.

Thanks BoBo