Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Prevent "mental ray not available dialog" from showing up

0 REPLIES 0
Reply
Message 1 of 1
Martin_L_A
261 Views, 0 Replies

Prevent "mental ray not available dialog" from showing up

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

Labels (4)
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report