Versions Compared

Key

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

Add this script to a "Batch Script" editor (F10) and execute it with Script > Run.

Find all objects in a selection of nodes and activate their "Active rigid body" dynamics feature:

Code Block
languagepy
nodeSelection = scene.getSelectedNodes()
 
for entry in nodeSelection:
	if (entry.getType() == TYPE_OBJECT):
		entry.setParameter("Dynamics", "Active rigid body")