Page Information

Versions Compared


  • 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
scene.simulatesimulateRange(startFrameList[counter], stopFrameList[counter])