On 09/01/2013 at 05:45, xxxxxxxx wrote:
Hi,
I am trying to access the motion clip keys to check various data, like the duration of the motion clip, value , number of keys etc.
I tried to access the tracks using the below code.
tracks = object.GetCTracks()
for track in tracks:
firstKey = track.GetCurve().GetKey();
it works fine if it is a normal animation track.
but if i add a Motion clip to the same track instead of normal animation the same object.GetCTracks() method returns an empty list.
Please some one help me, how to access the motion clip data?