Versions Compared

Key

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

...

With loops it is possible to perform changes on parameters for several nodes at once:

 

Code Block
sceneObjects = scene.getObjects()
for singleObject in sceneObjects:
	singleObject.setParameter("Color", Vector.new(255, 0, 0))
	singleObject.setParameter("Dynamics", "Active rigid body")
	singleObject.setParameter("Mass", 10.75)
	singleObject.setParameter("Cell size", 0.25)