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.
On Friday, 12 July 2019 03:56:08 UTC+10, likage wrote: > > 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. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/1b611da7-d486-4c64-89bb-9553df352fd9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
