Versions Compared

Key

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

...

Code Block
# Mind the leading spaces. Without them you will get syntax errors!
allSceneObjects = scene.getObjects()
for singleObject in allSceneObjects
	do something with singleObject, e.g. activate its rigid body dynamics propertyfeature
Dyverso Particles

Here is a loop for a dyverso domain's ("DY_Domain01") particles. The same principle is valid for Hybrido particles and standard particle emitters:

...