How to render paint effect through Deadline v3.1

I have a problem when render paint effect through Deadline. It shows "Exception during render: Error: Cannot find procedure “getStrokeUVFromPoly” ". I read an error massage and meaning but I don’t understand where to write prerenderscripts. How can I solve it?

This problem has actually been fixed in Deadline 4.0, but in Deadline 3.1, you can modify the MayaBatch and MayaCmd plugins to ignore this error. In a text editor, open the following files:

\your\repository\plugins\MayaBatch\MayaBatch.py
\your\repository\plugins\MayaCmd\MayaCmd.py

In each file, find the following code:

errorMessage.find( "Error: Cannot find procedure " )

We’re just going to change the text that it’s looking for so that it doesn’t match the paint effect error, like so:

errorMessage.find( "Error: Cannot find procedure blah" )

Now save the files, submit a new job, and let us know if this helps.

Cheers,

  • Ryan

Thank you. I will try that.