Community
Arnold for Maya Forum
Rendering with Arnold in Maya using the MtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Arnold environment variable for disabling "autodetect threads"?

22 REPLIES 22
Reply
Message 1 of 23
Anonymous
1481 Views, 22 Replies

Arnold environment variable for disabling "autodetect threads"?

Is there an environment variable that can be set to DISABLE the "Autodetect Threads" checkbox?

(Maya 2017, Arnold 5 (MtoA 3.1.1))

22 REPLIES 22
Message 21 of 23
Anonymous
in reply to: Anonymous

Okay. When i open a Fresh maya application, the auto tx convert option should stay disabled by default. What is the best way to do this?

Message 22 of 23
Stephen.Blair
in reply to: Anonymous

This userSetup.py disables autotx:

import mtoa.hooks
 
def setupOptions(options):
	cmds.setAttr('{}.autotx'.format(options), 0 );

mtoa.hooks.setupOptions = setupOptions   
<br>


// Stephen Blair
// Arnold Renderer Support
Message 23 of 23
Anonymous
in reply to: Anonymous

@Stephen Blair Thank you man. It worked. I put the the script in my usersetup.py file and added defalutArnoldRenderOptions, It is working now. Thanks again.

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

Post to forums  

Technology Administrators


Autodesk Design & Make Report