Prevent "mental ray not available dialog" from showing up

Prevent "mental ray not available dialog" from showing up

Martin_L_A
Contributor Contributor
564 Views
0 Replies
Message 1 of 1

Prevent "mental ray not available dialog" from showing up

Martin_L_A
Contributor
Contributor

Hi!

 

I'm trying to prevent the "mental ray not available dialog" from showing up in Maya in every subsequent file opening.

This is part of a process where preferences are constantly going to be different (each user using their own preferences).

I have tried starting Maya with the following env var set as True : MAYA_IGNORE_DIALOGS; but this doesn't seem to work in my case.
In addition, I don't have access to the import/open file part of that procedure, so using the prompt=False flag in the cmds.file() command is not an option.
I have tried to set that flag as False before the execution of the procedure, but this doesn't work either.

Is there any way I can reliably prevent Maya from showing up that dialog every time?
Preferably a way that can be set in the environment itself, or if not possible, right after Maya starts and before running anything else.

Thanks in advance for the help!
Cheers

565 Views
0 Replies
Replies (0)