THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/06/2011 at 08:25, xxxxxxxx wrote:
I'd like to know if there is an easier way to do it than I did it ?
I first wanted to set the key's values with a vector, but that didn't work.
# ... c4d.CTrack(null, c4d.DescID(c4d.DescLevel(c4d.ID_BASEOBJECT_POSITION))), # ... pos = op.GetAbsPos() keys = tuple((curve.AddKey(time)["key"] for curve in curves)) keys.SetValue(keys.GetCurve(), pos)