FBConstraintManager Class Reference


Detailed Description

Constraint manager.

Examples
BasicOperations/FBConstraintManager.py
Inheritance diagram for FBConstraintManager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  __init__ ()
  Constructor.
str  TypeGetName (int pTypeIndex)
  Get the name of a registered type of constraint.
int  TypeGetCount ()
  Get the number of registered constraint types.
FBConstraint  TypeCreateConstraint (int pTypeIndex)
  Create a constraint.

Member Function Documentation

str TypeGetName ( int  pTypeIndex )

Get the name of a registered type of constraint.

This will search in the registry for a constraint at the index pTypeIndex.

Parameters:
pTypeIndex Index of a constraint type.
Returns:
Name of constraint type.
int TypeGetCount ( )

Get the number of registered constraint types.

Returns:
Number of registered constraint types.
FBConstraint TypeCreateConstraint ( int  pTypeIndex )

Create a constraint.

Given the index in the registry, this will create an instance of this constraint. Note that this constraint is not automatically added to the constraint tool, and must be added manually in order to use in the 'Constraints' tool.

Parameters:
pTypeIndex Index of constraint type.
Returns:
Newly created constraint.

FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager
FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager FBConstraintManager