Skip to main content
1-Visitor
October 27, 2014
Question

Automating long running animations

  • October 27, 2014
  • 5 replies
  • 1985 views

I often use animations (essentially a For loop on the built in variable FRAME) to generate multi-pont analyses, including screen snapshots as an AVI..

One issue is that when the analysis takes a very long time, with a need to save the avi at the end, and to take care that data files are not overwritten when the loop finishes (usually with a fresh auto-calc back at FRAME 0).

Has anyone managed to automatically detect the completion of the animation recording, so that the AVI can be saved using some separate piece of automation?

Also has anyone, in a similar manner, managed to automate the backup of data files generated during the animation recording.

Some of my data generations take 5 - 8 hrs and are almost the 1000 FRAME (current) limit, so if anything goes wrong its a whole day wasted.

Philip

5 replies

23-Emerald V
October 27, 2014

If you're using M15, Philip, could you use a component that takes FRAME as an input and then use a script to save / backup files? Not sure how well it would synchronise, though.

Stuart

1-Visitor
October 27, 2014

Hi Stuart, yes it's V15 M030.

While it's possible to kind of do the auto data backup as you said, the more difficult problem is the saving of the avi, for which the option isn't presented until its all completed. The AVI is all that management want to see sometimes 😉

Philip

23-Emerald V
October 28, 2014

Is there any reason why you can't break the run up into, say, batches of 50 or 100 and then merge the avi files into one upon completion?

To prevent overwrite, could you tag each file with the time as well as frame number, or do a file existence check from a component?

Stuart