Adverti horiz upsell

MMtoKey 1.2.6 for Maya (maya script)

One hotkey for all tasks!

License
Button download
1,364 Downloads

Compatibility

  • 2019, 2018, 2017, 2016

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:07/27/2014
Last Modified:06/14/2020
File Size: 21.2 KB

Keywords

marking menu, Hotkeys

Q/A

Save menu mapping to custom file

Date:03/31/2017
Submitted by: Fomen Fomen
Can you add a feature to save mapping I've created to custom preferences file, so I could sit for another computer, load that file and all my mappings will be already there? Thank you! 

Replies to this question:

  • FormJune

    FormJune said over 5 years ago:

    Hey, do you wanna say about import? Right now you can just copy next things (samples of paths):
    Documents\maya\2016\prefs\markingMenus
    scripts/MMtoKey/scripts
    scripts/MMtoKey/UserData.mm
     
    Anyway I don't think it's quite difficult for making one archive automatically. I'll add in time.
  • NineAssets

    NineAssets said over 4 years ago:

    Hello again. Just downloaded newest version and trying to import old mappings and I can't. Script wants zip file and I zipped old UserData.mm, but nothing happens. Also when I trying to save or export mapping from 1.2.1 version it gives me such an error: 

    # Traceback (most recent call last):
    # File "D:\OneDrive\MayaFolder\MayaPrefs\addons\2017\MMtoKey_1.2.1\scripts\MMtoKey\Editor.py", line 289, in <lambda>
    # menu_file.addAction("export", lambda: Engine.UserData.exporter(self._engine.preferences, self._engine.cluster))
    # File "D:\OneDrive\MayaFolder\MayaPrefs\addons\2017\MMtoKey_1.2.1\scripts\MMtoKey\Engine.py", line 216, in exporter
    # cls.write(*args)
    # File "D:\OneDrive\MayaFolder\MayaPrefs\addons\2017\MMtoKey_1.2.1\scripts\MMtoKey\Engine.py", line 150, in write
    # pickle.dump((protocol, preferences, nodes), open(location + "/data/data.mm", "wb"))
    # IOError: [Errno 2] No such file or directory: 'D:\\OneDrive\\MayaFolder\\MayaPrefs\\addons\\2017\\MMtoKey_1.2.1\\scripts\\MMtoKey/data/data.mm'

    What could it be? 

  • Fomen

    Fomen said over 4 years ago:

    Это был снова я. Просто проблема какая-то с путями, что ли... Вот эти двойные слеши — это нормально? Не может создать файлик, кажись. И каждый раз все сбрасывается после перезапуска майи. 

Post a reply: