How to turn off auto save of specific workspace layout ?

How to turn off auto save of specific workspace layout ?

huseila
Enthusiast Enthusiast
211 Views
0 Replies
Message 1 of 1

How to turn off auto save of specific workspace layout ?

huseila
Enthusiast
Enthusiast

Hi,

 

I'd like to turn off the "Automatically save layout changes" option of "Maya Classic", "Modeling - Standard" and "Modeling - Expert" workspace layout when opening Maya. I found the command that can turn off current layout:

 

import maya.cmds as cmds

cmds.optionVar(intValue=('workspaceAutoSave', 0))

 

but it only works for current selected layout after Maya opened. It doesn't work when be put in userSetup.py. I wonder if there's any other command that can turn off auto save option of  specific layout when opening Maya ?

 

0 Likes
212 Views
0 Replies
Replies (0)