Keyframe Pro 2 Documentation
Installing Maya to Keyframe Pro 2
This guide provides the most straightforward approach to setting up the Maya to Keyframe Pro 2 script.
Download
-
Download and unzip the latest version of the Maya to Keyframe Pro 2 script.
-
Copy maya_to_keyframe_pro_2.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_pro_2 import MayaToKeyframePro2 MayaToKeyframePro2.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 Pro 2
-
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_pro_2 import MayaToKeyframePro2 MayaToKeyframePro2.open_keyframe_pro_2()
-
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_pro_2'
The file maya_to_keyframe_pro_2.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).