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

Class PythonConstraint


The Python Constraint Object

Uses Python script for constraint evaluation.

(no references to this struct found)

Instance Variables [hide private]
boolean active
Constraint is the one being edited (Inherited from bpy.types.Constraint)
boolean (readonly) disabled
Constraint has invalid settings and will not be evaluated. (Inherited from bpy.types.Constraint)
boolean expanded
Constraint's panel is expanded in UI. (Inherited from bpy.types.Constraint)
float in [0, 1] influence
Amount of influence constraint will have on the final solution. (Inherited from bpy.types.Constraint)
float (readonly) in [-inf, inf] lin_error
Amount of residual error in Blender space unit for constraints that work on position. (Inherited from bpy.types.Constraint)
string name
Name (maximum length of 30) (Inherited from bpy.types.Constraint)
int in [-inf, inf] number_of_targets
Usually only 1-3 are needed.
enum owner_space
Space that owner is evaluated in. (Inherited from bpy.types.Constraint)
boolean proxy_local
Constraint was added in this proxy instance (i.e. (Inherited from bpy.types.Constraint)
float (readonly) in [-inf, inf] rot_error
Amount of residual error in radiant for constraints that work on orientation. (Inherited from bpy.types.Constraint)
boolean (readonly) script_error
The linked Python script has thrown an error.
enum target_space
Space that target is evaluated in. (Inherited from bpy.types.Constraint)
Collection of ConstraintTarget (readonly) targets
Target Objects.
Text text
The text object that contains the Python script.
enum (readonly) type
Type in... (Inherited from bpy.types.Constraint)
boolean use_targets
Use the targets indicated in the constraint panel.