I have a keyframed object and and I want to query it at 2 different
times so I can define the magnitude of change over time.
here is what I have for query the keyframe at current time. this
works fine:
selectedNode =
mc.ls(selection=True)[0]
keyframe = mc.keyframe(selectedNode, query=True, eval=True)
print keyframe
but when I try to specify time it wont work:
selectedNode =
mc.ls(selection=True)[0]
keyframe = mc.keyframe(selectedNode, query=True, eval=True,
time=5)
print keyframe
# Error: TypeError: Invalid arguments for flag 'time'. Expected
(time, [time]), got int #