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?
Solved! Go to Solution.
Solved by _sebastian_f. Go to Solution.
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.
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;"
@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.
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)
The above script solution works.
Another solution is to link a hotkey set to a workspace as shown here:
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.