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: 

maya doesn't load my hotkey set at startup

12 REPLIES 12
SOLVED
Reply
Message 1 of 13
Anonymous
12094 Views, 12 Replies

maya doesn't load my hotkey set at startup

everytime I start Maya it revert back to default hotkey set, I have to open hotkey settings and select my own set again, any help?

12 REPLIES 12
Message 2 of 13
macleanchr
in reply to: Anonymous

Yeah, they broke this.  Until they hotfix it in a few months, you can force this to load your hotkeys by adding a userSetup.mel text file to your ".../maya/2017/prefs/scripts/" folder (if you don't have one already. If you do, just add this to the bottom of the file).  Open that file in a text editor and add the following:

 

hotkeySet -e -current *whatever_you_named_your_hotkey_user_file*;

 

For example, mine is:

 

hotkeySet -e -current chris;

 

 

Oh Maya.

Message 3 of 13
Anonymous
in reply to: macleanchr

Thanks that worked for me

Message 4 of 13
Anonymous
in reply to: macleanchr

OBSERVATION:

 

In my case the name of the hotkey set file was "userHotkeys_Maya_Default_Duplicate" but I had to use the following code:

 

"hotkeySet -e -current Maya_Default_Duplicate;"

Message 5 of 13
mareknaprstek
in reply to: macleanchr

Thanks! It was driving me crazy. Just found the userSetup.mel in ".../maya/2017/scripts/" instead of ".../maya/2017/prefs/scripts/"

Cheers
Message 6 of 13
Anonymous
in reply to: Anonymous

just leave it herehotkeys.jpg

Tags (1)
Message 7 of 13
mehdiablo
in reply to: Anonymous

Making hotkeys more complicated to set... not a smart move autodesk

Message 8 of 13
_sebastian_f
in reply to: mehdiablo

@mehdiablo update your maya the bug is fixed for quite some time now. what @Anonymous  posted is actually a very nice new feature and was a workaround.

Message 9 of 13
Anonymous
in reply to: _sebastian_f

Here it is in python in case anyone is using a userSetup.py file.

 

from maya import cmds
cmds.hotkeySet("HOTKEY_SET_NAME", e=1, cu=1)

Message 10 of 13
Anonymous
in reply to: Anonymous

Yes! Thx

Message 11 of 13
Anonymous
in reply to: Anonymous

I am experiencing this in the latest version of Maya LT.

Message 12 of 13
conkerz
in reply to: macleanchr

The above script solution works.

Another solution is to link a hotkey set to a workspace as shown here:

https://youtu.be/k2oKSU2ww8s

Message 13 of 13
Anonymous
in reply to: conkerz

Late to this thread but I was searching for solutions to this.  The way I've done this is to copy these files from a backed up copy of your prefs.  Worked for me today.

 

/maya/2018/prefs/hotkeys/

     userHotkeys_*.mel

/maya/2018/prefs/

     userNamedCommands.mel

     userRunTimeCommands.mel

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report