Adverti horiz upsell

Anim_picker 1.0.2 for Maya (maya script)

This tool allows you to create a graphical interface for quick animation controls selection

License
Button download
1,998 Downloads

Compatibility

  • 2014, 2013

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:05/28/2013
Last Modified:06/08/2013
File Size: 53.6 KB

Keywords

maya, animation, pyqt, pyside, Rig

Bugs

Error when using PySide in Maya 2014

Statusclosed
Priorityhigh
Date05/30/2013
Submitted byCharlieWales CharlieWales
HI, first of all, very nice tool. I had to edit qt_handlers.py in order to launch the tool with PySide in Maya 2014 (line 20), shiboken is not inside the PySide package in Maya 2014 but directly in the site-packages folder:

# Error: line 1: Exception: file  ...\anim_picker\handlers\qt_handlers.py line 22: Failed to import sip or shiboken

# edited code
##################################
try:
    import sip
except:
    try:
        from PySide import shiboken
    except:
        try:
            import shiboken
        except:
            raise Exception, 'Failed to import sip or shiboken'
##################################


Also just a minor thing, the 'Picker Item Options' doesn't get parented to the Main Maya Window. Edited gui.py  (line 2956):
 
 # QtGui.QMainWindow.__init__(self, parent=None)
 QtGui.QMainWindow.__init__(self, parent=qt_handlers.get_maya_window())

Good work man! and thanks for sharing.

Comments on this bug:

  • Guillaume Barlier

    Guillaume Barlier said over 11 years ago:

    Ok thanks for the feedback! I don't have maya 2014, so i downloaded PySide online, and shiboken is under Pyside in this case. i'll go change that. As for the "PickerItemOptionsWindow", it get's parented to the picker widget item that is parented to the GraphicViewWidget, so that's seems to be alrright. The problem seems to be from the GraphicViewWidget that wasn't parented to the maya's main window, i just fixed it in v 1.0.1 (will be up shortly) Let me know if that fixes your issue ^^

Post a comment: