Can't disable autoload via userSetup

Can't disable autoload via userSetup

evalinia
Participant Participant
1,223 Views
4 Replies
Message 1 of 5

Can't disable autoload via userSetup

evalinia
Participant
Participant

Hey all, 

 

I'm trying to disable autoload on all my plugins in a userSetup.py file. Loading/Unloading plugins works fine. It's just setting autoload to false that doesn't seem to work. Am I missing something? It might be worth mentioning that I'm running Maya on macOS. 

 

I'm running: 

 

from maya import cmds

# Force Auto load all plugins to False
pluginList = cmds.pluginInfo(query=True, listPlugins=True) or []
for plugin in pluginList:
cmds.pluginInfo(plugin, edit=True, autoload=False)
 
Thanks in advance, 
Evelyn
Accepted solutions (1)
1,224 Views
4 Replies
Replies (4)
Message 2 of 5

evalinia
Participant
Participant

Could this be a bug on MacOS? Does anyone on windows or linux see this issue? Unfortunately, I can't test.

0 Likes
Message 3 of 5

evalinia
Participant
Participant

Just wanted to check in on this again. Is this a bug or is there another way I should be going about this?

Message 4 of 5

evalinia
Participant
Participant

just giving this another nudge

Message 5 of 5

evalinia
Participant
Participant
Accepted solution

Just closing the loop...

After digging around and talking to colleagues, I'm pretty sure it's not possible to disable plugins via userSetup. I found this older article, so I'll try going about it that way. 

 

https://around-the-corner.typepad.com/adn/2012/07/using-a-mel-script-to-load-plug-ins.html

0 Likes