Versions Compared

Key

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

...

Code Block
languageperl
dyversoDomain    = scene.get_DY_Domain("DY_Domain01")
dyversoParticles = dyversoDomain.getParticles()
 
for particle in dyversoParticles:
	if (particle.getVelocity().module() > 4.0):
		dyversoDomain.removeParticle(particle.getId())

...