From BlenderWiki

Jump to: navigation, search

If you want to document Blender 2.5 features please edit pages under Doc:2.5/Manual.
If a "2.5" page doesn't exist please copy the text from 2.4x Manual and edit the new page (i.e. you should paste the wikitext from this 2.4x page to this new 2.5x page and then update the latter with 2.5 features)


[edit] Script Constraint

Mode: Object Mode and Pose Mode

Panel: Object Context → Constraints

Hotkey: F7

[edit] Description

The script constraint allows a person to write a new constraint, all in Python. A Pyconstraint can have multiple targets (however many the script requires), and even their own options.



[edit] Options

Script
Sets the Pyconstraint to use.
Target
Allows you to select what objects the script will target.
Options
Change some of the constraint's settings.
Refresh
Forces the scripted constraint to refresh it's settings.
C Space
The space (Global, Local) which the target is used.

[edit] Example