Versions Compared

Key

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

In the example below, only the first 100 particles of a Dyverso domain's total number of particles are used:

dyversoDomain = scene.get_DY_Domain("DY_Domain01")

dyversoDomainParticles = dyversoDomain.getParticles()

start = 0; stop = 100

for counter in range(start, stop):