Message 1 of 1
scriptJob on attributeChanged using disregardIndex?
Not applicable
04-10-2014
11:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey guys,
As many have done before, I am trying to detect the add or remove of keyframes using a scriptJob. To do so, I am attempting to monitor the change in the animation curve's compound attribute KTV.
def CurveKeysChangedCB():
print "CurveKeysChangedCB()"
curveName="pCube1_translateX"
cmds.scriptJob(cu=True,dri=True,ac=[curveName+".ktv",CurveKeysChangedCB])
However regardless of the adding or removing of keys, or the changing of key values, attributes in this multi will not trigger the scriptJob.
Any ideas?
Thanks!
-Kim