Adverti horiz upsell

colorKey 2.0.0 for Maya (maya script)

color keyframe's ticks in the timeline

License
Button download
4,018 Downloads

Compatibility

  • 2016, 2015, 2014, 2013, 2012, 2011

Operating Systems

  • Mac
  • Windows

History

Created:11/01/2013
Last Modified:07/05/2015
File Size: 6.86 KB

Q/A

Working on Maya 2017...

Date:02/02/2017
Submitted by: doubleZoul doubleZoul
Is it possible to make it work inside Maya 2017? I keep getting an error due to some missing Python libraries : /
 
Thanks for your time!!
Best,

Replies to this question:

  • chrisLf

    chrisLf said almost 8 years ago:

    Its possible and its actually not hard. Since Maya 2017 uses a new version of QT some functions are on different packages.
     
    what you have to do is run a search replace on the file and replace QtGui with QtWidgets
    EXCEPT on the import where you need to add QtWidgets so it says 
    1
    
    from PySide2 import QtGui, QtCore, QtWidgets

    AND on line 467 to 472 it should say ...QtGui.QPallette.Button)...

    ALSO change the getMayaWindow(): function to that

    1
    2
    3
    
    def getMayaWindow():
        ptr = OpenMayaUI.MQtUtil.mainWindow()
        return wrapInstance(long(ptr), QtWidgets.QWidget)

     

    well if you can't get it to work, email me chris.lend@gmx.at. I would attach it to this post but I can't see the option to do so...

    also I'd like to send a message to the author with the working version but I can't find an email or pm...

     

    edit: oh and dont forget on the import its now PySide2 and shiboken2

Post a reply: