Missing Shelf Button Script (without resetting prefs) 1.0.0 for Maya (maya script)
Disappearing shelf buttons in Maya 2016 and up? This script tries to solve by cleaning userPrefs.py, All settings will be maintained
Version History
First version. Tested in Maya 2016.5 and 2017