/
Looping - Selected Nodes
Looping - Selected Nodes
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:
# Get all selected nodes nodeSelection = scene.getSelectedNodes() # Loop through the nodes in the selection and filter out the objects for entry in nodeSelection: if (entry.getType() == TYPE_OBJECT): # If an object was found activate its active rigid body state entry.setParameter("Dynamics", "Active rigid body")
, multiple selections available,
Related content
Looping - Group Members
Looping - Group Members
More like this
Filling Objects (Dyverso)
Filling Objects (Dyverso)
More like this
Adding Particles
Adding Particles
More like this
DY - Rigid and Elastic Simulations
DY - Rigid and Elastic Simulations
More like this
Camera Follows Soft Body
Camera Follows Soft Body
More like this
Caronte - Body Dynamics
Caronte - Body Dynamics
More like this