scriptJob event for editing attributes within graphEditor

33 views
Skip to first unread message

likage

unread,
Jul 11, 2019, 1:56:08 PM7/11/19
to Python Programming for Autodesk Maya
Is there a scriptJob event that will allows me to:
  • detect whenever a change is made in graphEditor
  • and knowing which attribute it has been modified?
I tried using the following:
def ge_track():
    print 'changes made in graph editor'

test = cmds.scriptJob(event=["graphEditorParamCurveSelected", ge_track])

While it does detects whenever I highlighted a said key of an attribute (whether did I modify the value or not), but I could not tell which attribute it was effected on.

Michael Boon

unread,
Jul 15, 2019, 10:23:14 PM7/15/19
to Python Programming for Autodesk Maya
The API class MAnimMessage includes all kinds of callbacks for anim curves and keys being modified, but I'm not aware of an equivalent scriptjob.
Reply all
Reply to author
Forward
0 new messages