Maya 2017 introduced a lot of cool features and one really ugly one: this new "Sign In" button at the top of the screen.
Normally, I wouldn't really care about it, but it doesn't really have a place in the program. They have the Autodesk Application Manager, so what's the point in introducing another level of having to sign in to your account? Maybe it's to connect your account and downloads, but again - that should honestly be handled in a different manner and shouldn't be added to the UI.
Here's the code to get rid of it, you can put this into any userSetup.py that you have and it will delete it whenever it loads up. This does import PySide2/PyMel, both of which can slow down load up time - but it's better than having that sign-in menu in the way.
import pymel.core as pm import shiboken2 import maya.OpenMayaUI as OpenMayaUI from PySide2 import QtWidgets def deleteSignInButton(): statusLine = pm.mel.eval('$tmp = $gStatusLineForm') pointer = OpenMayaUI.MQtUtil_findControl(statusLine) statusLine = shiboken2.wrapInstance(long(pointer), QtWidgets.QWidget) mayaStatusShelf = statusLine.children().children() for widget in mayaStatusShelf.children(): if widget.objectName() == 'IPM_Button_Placeholder' or widget.objectName() == 'IPMButtonCollapse': widget.deleteLater()
Then just call the method.