# Maya

# Setup

No setup steps required.

## Disable Maya Crash Reports

There are some known cases in which the Maya crash reports stay open after a render crashed.

You can disable the crash reports by deleting the file Maya/bin/senddmp.exe

# Submission

You have two ways to submit Maya scenes.

•Via Maya plugin

This is the recommended way. You have more options and it displays error messages.
Installation:
You have to run the rrWorkstationInstaller at least once to install the RR_ROOT environment variable.

Start Maya and load the Maya plugin via the Plug-in Manager in Maya.

Open your scene and use the new RRender menu to submit your scene.

•Via rrSubmitter

Start the rrSubmitter and use the load button.

The submitter asks you if it should start maya batch to read all scene values.
Note: By default Maya creates a project structure if there is none.

It creates a file named workspace.mel and folders like /scenes.If there is a workspace.mel file, then no folder is created

# Include all lights in each render layer by default

The Render Layer Setup window in Maya has a setting named "Include all lights in each render layer by default".

This is a local setting and is not saved with the scene.

Which means that if you enable this setting and render it on a different machine, it will look differently.

The RR submission plugin reads your setting and enables/disables the rrJob option "noIncludeAllLights" accordingly.

file.

# Custom Maya Preferences (Maya.env, pluginPrefs.mel)

RR copies the Maya preferences from
[RR]\render_apps\renderer_prefs\maya\win_x64\2018 to C:\RR_localdata\renderer_prefs\maya\win_x64\2018

And tells Maya to use these preferences.

You can use your own preferences and copy them into [RR]\render_apps\renderer_prefs\maya\win_x64\2018

Note: "2018" should be replaced with the Maya version you use.

Note: RR can automatically switch from Render Setup to Legacy Layers.
But this does only work if the preferences are set to the default "Render Setup".

If you want to use a different preference source folder, then you can either edit the maya_inhouse.rrEnv file to define the variable
RR_MAYA_PREFS = mycustomFolder

or set RR_MAYA_PREFS inside the job.

See Render Environment.