THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/03/2012 at 06:04, xxxxxxxx wrote:
Hi Luther,
Yes it is, I just wondered why you do it this way. :) Yes it is a for-loop, but I wanted to know if you're calling op.GetMg().off within the for loop or not, i.e.
for i in range(frame) : # same as range(0, frame), better use xrange by the way
GPos = op.GetMg().off
# ...
and not
GPos = op.GetMg().off
for i in range(frame) :
# ...
But that would be too obvious I guess, and anyway, even if you're doing that, it won't work... I just tested it and saw that the position is not updated by just setting the document time, and I don't know how to update it .. I know there is a way to do it, but c4d.EventAdd() nor c4d.GeSyncMessage() seem to fix that... sry :D
-niklas