add_constraint_layer
- add_constraint_layer(constrain_node, target_node, parent=None, name=None, mode=0)
Add a new Constraint layer on the top of the layer stack and return it
- Parameters
- Returns
the newly created animation layer
- Return type
ConstraintLayer
Raise an RuntimeError exception if the constraint has been created but creates a cycle. In that case, caller must revert the modification with rumba.modify_abort().