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