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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.