• Confluence is currently running with all non-system plugins disabled, some functionality may be missing
Child pages
  • Batch Simulations

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The statement stopFrameList[counter] is the important element here. Since the counter is incremented with each frame, you can read out the stop frames from the list. The counter is used as an index for each list entry. If you need different start frames, you have to create another list. To save the assignment of extra start/stop variables, the simulatesimulateRange() statement can then also be written as:

Code Block
themeEclipse
languagepython
scene.simulatesimulateRange(startFrameList[counter], stopFrameList[counter])

...