I'm having a problem. my buttons in my custom shelf disappears when I restart maya. maya has admin privileges and the prefs folder in my documents is not read only and my user account has the privilege to access/write this folder. I'v tried renaming my prefs folder so that maya creates a new pref folder when it starts. that way the shelf works but in that way my other settings are lost. how can I solve this button and shelf problem and keep my other settings? can anyone help ?
Solved! Go to Solution.
I'm having a problem. my buttons in my custom shelf disappears when I restart maya. maya has admin privileges and the prefs folder in my documents is not read only and my user account has the privilege to access/write this folder. I'v tried renaming my prefs folder so that maya creates a new pref folder when it starts. that way the shelf works but in that way my other settings are lost. how can I solve this button and shelf problem and keep my other settings? can anyone help ?
Solved! Go to Solution.
Also created a small tool for fixing the issue. Find it on github: https://github.com/mortentoo/maya/blob/master/snippets/utilities/fix_empty_shelves.py, and on my website: https://amorten.com/blog/2017/maya-empty-shelves-after-restart/
Also created a small tool for fixing the issue. Find it on github: https://github.com/mortentoo/maya/blob/master/snippets/utilities/fix_empty_shelves.py, and on my website: https://amorten.com/blog/2017/maya-empty-shelves-after-restart/
Sorry, wrong link. This is the correct one: https://github.com/mortentoo/maya/blob/master/scripts/utilities/fix_empty_shelves/fix_empty_shelves....
Sorry, wrong link. This is the correct one: https://github.com/mortentoo/maya/blob/master/scripts/utilities/fix_empty_shelves/fix_empty_shelves....
Thank you, this worked for me without deleting all my userPrefs. Great solution.
Thank you, this worked for me without deleting all my userPrefs. Great solution.
Great script, thanks for writing it. Had to modify the prefs_dir line to find userPrefs.mel in ~/Library/Preferences/Autodesk/maya/2016/prefs/ but after that, worked like a charm.
Thanks again.
Great script, thanks for writing it. Had to modify the prefs_dir line to find userPrefs.mel in ~/Library/Preferences/Autodesk/maya/2016/prefs/ but after that, worked like a charm.
Thanks again.
@Anonymous wrote:I have found a kludge for my problem.
Create the shelf as usual.
Save All Shelves.
Go to the Shelf Editor and change the name of the shelf.
Save All Shelves.
Close Maya.
Open Maya -- new shelf with the new buttons appears.
Hope this works for others.
Can confirm that this does still work in Maya 2018.3.
Thank you. I was about to throw my computer out the window.
@Anonymous wrote:I have found a kludge for my problem.
Create the shelf as usual.
Save All Shelves.
Go to the Shelf Editor and change the name of the shelf.
Save All Shelves.
Close Maya.
Open Maya -- new shelf with the new buttons appears.
Hope this works for others.
Can confirm that this does still work in Maya 2018.3.
Thank you. I was about to throw my computer out the window.
Ran into this issue again, and I'd prefer not to delete the userPrefs.
I tried to run the script you linked in, but I get an error:
# Error: IOError: file <maya console> line 74: 22 #
I don't usually deal with Python scripts, what am I doing wrong?
Thank you.
Ran into this issue again, and I'd prefer not to delete the userPrefs.
I tried to run the script you linked in, but I get an error:
# Error: IOError: file <maya console> line 74: 22 #
I don't usually deal with Python scripts, what am I doing wrong?
Thank you.
I have the same problem.
Actually if you go to the next shelf and then you go back to the previous one you should see every icons. It's really weird
Can you please repost the script to fix this?
Thanks
I have the same problem.
Actually if you go to the next shelf and then you go back to the previous one you should see every icons. It's really weird
Can you please repost the script to fix this?
Thanks
Please, could you, by any chance, send me your guide to fix this issue?
It would be very much appreciated.
Thanks
Please, could you, by any chance, send me your guide to fix this issue?
It would be very much appreciated.
Thanks
Hi, can you please post you guide again.
I have the same issue, and I'm not very sure about what to delete in userPrfes.mel
Thanks
Hi, can you please post you guide again.
I have the same issue, and I'm not very sure about what to delete in userPrfes.mel
Thanks
Can't find what you're looking for? Ask the community or share your knowledge.