Skip to main content

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

  1. Download and unzip the latest version of the Maya to Keyframe Pro 2 script.

  2. 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

  1. Open the Script Editor in Maya (Window->General Editors->Script Editor)

  2. Create a new Python tab
  3. Insert the following Python commands:

    import maya.cmds as cmds
    from maya_to_keyframe_pro_2 import MayaToKeyframePro2
    
    MayaToKeyframePro2.display()
  4. From the Script Editor main menu select File->Save Script to Shelf

  5. Enter a name for the shelf button and click OK

Launch Keyframe Pro 2

  1. Open the Script Editor in Maya (Window->General Editors->Script Editor)

  2. Create a new Python tab
  3. Insert the following Python commands:

    from maya_to_keyframe_pro_2 import MayaToKeyframePro2
    
    MayaToKeyframePro2.open_keyframe_pro_2()
  4. From the Script Editor main menu select File->Save Script to Shelf

  5. 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).