Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Shelf buttons disappear upon restarting Maya

28 REPLIES 28
SOLVED
Reply
Message 1 of 29
Anonymous
25306 Views, 28 Replies

Shelf buttons disappear upon restarting Maya

Anonymous
Not applicable

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 ?

0 Likes

Shelf buttons disappear upon restarting Maya

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 ?

28 REPLIES 28
Message 21 of 29
Anonymous
in reply to: Anonymous

Anonymous
Not applicable
0 Likes

Message 22 of 29
Anonymous
in reply to: Anonymous

Anonymous
Not applicable
0 Likes

Message 23 of 29
Anonymous
in reply to: Anonymous

Anonymous
Not applicable

Thank you, this worked for me without deleting all my userPrefs. Great solution.

0 Likes

Thank you, this worked for me without deleting all my userPrefs. Great solution.

Message 24 of 29
JPelphrey
in reply to: Anonymous

JPelphrey
Contributor
Contributor

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.

0 Likes

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.

Message 25 of 29
Anonymous
in reply to: Anonymous

Anonymous
Not applicable

@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.

0 Likes


@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.

Message 26 of 29
Anonymous
in reply to: Anonymous

Anonymous
Not applicable

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.

0 Likes

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.

Message 27 of 29

Cavaliere.fab
Contributor
Contributor

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

0 Likes

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

Message 28 of 29
Cavaliere.fab
in reply to: Anonymous

Cavaliere.fab
Contributor
Contributor

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

Message 29 of 29
Cavaliere.fab
in reply to: Anonymous

Cavaliere.fab
Contributor
Contributor

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.

Post to forums  

Autodesk Design & Make Report