1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
***********
Constraints
***********
Operators for working with an object's :doc:`/animation/constraints/index`.
.. _bpy.ops.object.constraint_add_with_targets:
Add Constraint (with Targets)
=============================
.. reference::
:Mode: Object Mode and Pose Mode
:Menu: :menuselection:`Object --> Constraint --> Add Constraint (with Targets)`
Adds a constraint to the active object.
The type of constraint must be chosen from a pop-up menu,
though it can be changed later from the *Add Constraint (with Targets)*
:ref:`bpy.ops.screen.redo_last` panel.
If there is an other object selected besides the active one,
that object will be the constraint target (if the chosen constraint accepts targets).
When using a bone from another armature as the target for a constraint, the tool
will look inside the non-active armature and use its active bone,
provided that armature is in Pose Mode.
.. _bpy.ops.object.constraints_copy:
Copy Constraints to Selected Objects
====================================
.. reference::
:Mode: Object Mode and Pose Mode
:Menu: :menuselection:`Object --> Constraint --> Copy Constraints to Selected Objects`
Copies the active object Constraints to the rest of the selected objects.
.. _bpy.ops.object.constraints_clear:
Clear Object Constraints
========================
.. reference::
:Mode: Object Mode and Pose Mode
:Panel: :menuselection:`Object --> Constraint --> Clear Object Constraints`
Removes all Constraints of the selected object(s).
|