Keyframe MPX Documentation
Installing Maya to Keyframe MPX
This guide provides the most straightforward approach to setting up the Maya to Keyframe MPX script.
Download
-
Download and unzip the latest version of the Maya to Keyframe MPX script.
-
Copy maya_to_keyframe_mpx.py to the Maya scripts directory.
Windows:
C:\Users\<username>\Documents\maya\scripts
macOS:
/Users/<username>/Library/Preferences/Autodesk/maya/scripts
Creating Maya Shelf Buttons
Open the Main UI
-
Open the Script Editor in Maya (Window->General Editors->Script Editor)
- Create a new Python tab
-
Insert the following Python commands:
import maya.cmds as cmds from maya_to_keyframe_mpx import MayaToKeyframeMPX MayaToKeyframeMPX.display()
-
From the Script Editor main menu select File->Save Script to Shelf
-
Enter a name for the shelf button and click OK
Launch Keyframe MPX
-
Open the Script Editor in Maya (Window->General Editors->Script Editor)
- Create a new Python tab
-
Insert the following Python commands:
from maya_to_keyframe_mpx import MayaToKeyframeMPX MayaToKeyframeMPX.open_keyframe_mpx()
-
From the Script Editor main menu select File->Save Script to Shelf
-
Enter a name for the shelf button and click OK
Troubleshooting
#Error: No module named 'maya_to_keyframe_mpx'
The file maya_to_keyframe_mpx.py was not found in the Maya scripts directory.
The most common cause is that the file was copied to an invalid directory. This should be the user's Maya scripts directory as noted in the Download section above (or another directory found in the MAYA_SCRIPT_PATH).