Hello,
I am wondering if anyone knows why many custom assigned Maya hotkeys stop working in many cases when I'm in the middle of my workflow... restarting maya works (but I don't want to keep doing that over and over...)
Am I touching some sort of hotkey override which is hidden out of view?
Is there a workaround or plugin which does some kind of uber-ultimate override of the maya hotkeys, which actually makes the hotkeys stable?
The only conclusion I can make is that the hotkey editor is broken (which I've heard from numerous sources already)
I've been having this problem for ages!
Please post if you have a solution, to end my pain!
- Andr
Replies
I have no solutions, only sympathy. Maya is such a jerk sometimes.
Same here, that is what is so maddening about all this to me. I plan on asking around a bit today and hopefully can get an answer.
I did a bit more searching now, someone made the connection between menu accelerator hotkeys and this issue.
Using shift-A for a marking menu, it works, until the Window menu is pulled up, which lists "Frame in All Views" = shift-A. Even re-binding within this session fails.
Commenting this keybind out in hotkeySetup.mel prevents this behavior in this case, and Window menu no longer lists an accelerator for "Frame in All Views".
Looking into the hotkey editor mels now...
comment out '//' the default hotkey you don't want to be used in the hotkeysetup.mel in the maya installation directory.
Cool it worked for you square.
There are 26 named commands that get treated special and have their default hotkeys listed in menus, such as "File>New Ctrl-N" in Maya 2012. These are the hotkeys that will revert back to default behavior if you have defined that key to do something else, and have entered one of these menus (such as clicking on the File menu).
This fix is for the following hotkeys only, and involves writing over a default Maya script, seems harmless as far as I can tell, the menu items still function as normal.
Not all keys are affected, but this makes for an easy reference.
Maya\scripts\startup\namedCommandSetup.mel
Starting on line 157 is the script that adds the hotkeys to the menus, and there are three sets in a row. In the case of ctrl-n, we have:
"File->New Scene",
"NewScene",
"NameComNew_File",
commenting these three entries out, saving and launching Maya, ctrl-n is no longer listed as a hotkey inside the menu, and clicking the file menu no longer overrides a custom hotkey set for ctrl-n.
(and i just learned shift-g: repeat last action at cursor location).