DL 2.7 - query current renderer

Hi. We have a varied license pool for our available Maya renderers and I am wanting to query the current renderer of choice from within Deadline.

For example we can submit as; ‘mentalRay’ or ‘renderMan’ - being able to query the current renderer will allow me to properly account for the different licenses on offer.

I am hoping there is a simple command accessible from within ‘MayaErrorParsing’ which will allow me to set up what I need, eg, skip over mentalRay license errors when rendering with renderMan.

Any help appreciated.

Thanks.

If you check RenderArgument.ffs, you’ll see this line, which gets the maya renderer:

mayaRenderer = ToLower( Trim( GetJobInfoEntryWithDefault( "Renderer","mayaSoftware" ) ) );

You could add this line to MayaErrorParsing.ffs, and then use the mayaRenderer variable to determine which error messages to ignore.

Hope this helps!

  • Ryan

Hi Ryan. Thanks, that is exactly what I was hoping for - does the trick perfectly :slight_smile:

I neglected to consider looking through the renderArgs list, oops!

Thanks again.