Package bpy :: Module types :: Class ObjectConstraints
[hide private]
[frames] | no frames]

Class ObjectConstraints

The Object Constraints Object

Collection of object constraints.

References

Instance Methods [hide private]
Constraint
new(type)
Add a new constraint to this object
boolean
remove(index)
Remove a constraint from this object.
Instance Variables [hide private]
Constraint active
Active Object constraint.
Method Details [hide private]

new(type)

 

Add a new constraint to this object

Parameters:
  • type (enum)
Returns: Constraint
New constraint.

remove(index)

 

Remove a constraint from this object.

Parameters:
  • index (int)
Returns: boolean
Removed the constraint successfully.