grayOlorin
May 20, 2016 16:47:14
Is there a way to query or turn the Asynchronous flag off programmatically before starting a maya process? I.e via setting an environment variable in python or C#?
I know in Maya, when we turn that optionVar off, it requires a restart, which made me think this would be possible?
Thank you!
awong
May 28, 2016 04:40:39
One way is to use the userSetup.mel. For example, you can add:
if(size(`getenv FOO`))
{
optionVar -iv houdiniEngineAsynchronousMode ((int)`getenv FOO`);
}
The same can be done using Python with userSetup.py.
grayOlorin
May 28, 2016 10:14:04
Thank you Andrew! That works!