THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/08/2010 at 17:16, xxxxxxxx wrote:
Cinema 4D Version: 11.5
Language(s) : C.O.F.F.E.E ; C++ ;
i'm not sure if this is the right forum, because my question is python (py4d) related, but i think the c++ answer would help me too. I'm playing around in the timeline and got stuck with setting keys. I'm not sure how the BaseTime behaves. How can I get a BaseTime to a specified framenuber? For example what would be the BaseTime of Frame 25? Or how can i create a BaseTime set to 2 seconds?
i get my key with
ctracks = obj.GetCTracks()
for i,o in enumerate(ctracks) :
for p in xrange(cnt) :
key = c.GetKey(p)
key.SetTime(...) #<- and here is the problem. I really have no idea what to put in there to set the keyframe to Frame 25 ... or 2 seconds ...