Script doesn't update at render

On 28/05/2013 at 08:33, xxxxxxxx wrote:

i have a simple script, which reads some vertices for spline drawing. Each frame has its own text file. If i playback in the viewport everything is fine, but if i render a movie, the script doesn't update, and stays at the first frame.

On 28/05/2013 at 22:52, xxxxxxxx wrote:

maybe your problem its the _<_t_>_
doc = c4d.documents.GetActiveDocument()