Adverti horiz upsell

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, All settings will be maintained

Button download


  • 2017

Operating Systems

  • Linux
  • Mac
  • Windows


Last Modified:08/29/2017
File Size: 4.69 KB

Disappearing shelf buttons in Maya 2016 and up?


One reason for disappearing shelf buttons its entry exists multiple times in userPrefs.mel
what confuses the loading. There might be a shelf entry with ; at the end and one without. Both valid
but overwriting each other.

This script runs through the .mel file and tries to remove any line with duplicates.
Besides "shelfName" entries that are filtered are associated "shelfVersion", "shelfFile", "shelfLoad and "shelfAlign" entries

path_to_userprefs: file path to userPrefs.mel. Windows usually "C:/Users/username/Documents/maya/20xx/prefs/userPrefs.mel"

Limited to speed up script, default values should be good. If you need to modify will depend on our file.
Start and end line of to process for search process. You can search "shelf" in userPrefs.mel in text editor to find the section

Hot to use:

Run the script, then reopen shelf (or restart maya)

import as missi
missi.clean_disappearingshelf_userprefs("C:/Users/monika/Documents/username/2017/prefs/userPrefs.mel", searchlines=[1000, 3000])

Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.

People who favorited this item:

  • coldside
  • fender.81
  • tony yang
    tony yang