Maya to Keyframe Pro

Overview

Maya to Keyframe Pro is a Python script for Maya that allows users to control Keyframe Pro through a compact UI inside of Maya. The script utilizes the Keyframe Pro Client API and provides timeline syncing, viewer controls and playblasting functionality.

Installation

This guide will provide the most straightfoward approach to setting up Maya to Keyframe Pro:

  1. Download the latest Python Client API zip file from the Keyframe Pro home page.
  2. Windows - In Explorer, navigate to the maya/scripts folder in your Documents directory.
                        (e.g. C:\Users\<username>\Documents\maya\scripts)
    macOS - In Finder, navigate to the maya/scripts folder in your Home directory.
                        (e.g. ~/Library/Preferences/Autodesk/maya/scripts)
  3. Extract the contents of the zip file into this directory.
    Note: If __init__.py already exists, it can be skipped.

Adding a Maya Shelf Button to Open the GUI

  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 keyframe_pro_maya.maya_to_keyframe_pro import MayaToKeyframePro
    
    MayaToKeyframePro.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.

Adding a Maya Shelf Button to Launch Keyframe Pro

  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 keyframe_pro_maya.maya_to_keyframe_pro import MayaToKeyframePro
        
    MayaToKeyframePro.open_keyframe_pro()
  4. From the Script Editor main menu select File->Save Script to Shelf
  5. Enter a name for the shelf button and click OK.

Related Links