Versions Compared

Key

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

...

Code Block
languagepy
# Get the domain "DY_Domain01" and its particles
dyversoDomain = scene.get_DY_Domain("DY_Domain01")
particles     = dyversoDomain.getParticles()

# Loop through every particle and delete it when it is below a RealWave surface
for particle in particles:
	if (particle.isBelowRealwave()):
		dyversoDomain.removeParticle(particle.getId())

 

Standard Particle Emitter

...