Home Community mMaya Disable mMaya autoloading and popup notification

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10734
    OfirSL
    Participant

    Hi all,
    Trying my luck in this forum (although it very quiet here).
    Is there a way to prevent mMaya from autoloading every time I open Maya scene? (using Maya 2019 at this moment).
    Tried to uncheck the “Auto load” in the Plug-in manager but it didn’t do anything and still loading itself every time I open a Maya file.
    Or at least to disable the “Molecular Maya’s rigging kit is currently in beta for Maya 2019…” popup notification.

    Thanks a lot!
    Ofir

    #10736
    Jonathan Khao
    Participant

    Hi Ofir,

    You can disable mMaya from booting at startup by editing the userSetup.py file in your maya folder.
    By default, this is located in : C:\Users\[UserName]\Documents\maya\2018\scripts\userSetup.py.

    You can comment out the code responsible for booting mMaya by adding a ‘#’ character at the beginning of the line, which should end up looking like the line below:
    #import sys; import maya.cmds as cmds;sys.path.append('C:/Users/[UserName]/Documents/maya/scripts\mMaya'); cmds.evalDeferred('import mMaya_rootEnv; mMaya_rootEnv.init()')

    To boot mMaya, you can then copy/paste the code that we commented out (without the ‘#’) in Maya’s script editor (in a python tab) and hit control+enter to execute it.

    You can also create a shelf button to launch mMaya by pasting the code in the script editor and drag/drop it over a shelf. A popup will ask you in what language the code should be interpreted, which should be “Python”.

    After rebooting Maya, you will be able to boot mMaya by clicking on the shelf button.

    ‘best

    #10738
    OfirSL
    Participant

    Perfect! just what I needed.

    Thanks a lot Jonathan!!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.