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() > 5.0):
		dyversoDomain.removeParticle(particle.getId())

 

Hybrido Domains

Add script to Simulation Flow > FramesPre or StepsPre.

...