1
2
3
4
5
6
7
8
9from pyfbsdk import FBConstraintManager, FBSystem
10
11
14
15for lIdx in range( lMgr.TypeGetCount() ):
16
17
18 lCnst = lMgr.TypeCreateConstraint( lIdx )
19
20
21 lCnst.Name = "%s Created by script" % lMgr.TypeGetName( lIdx )
22
23
24 print("Adding new constraint: '%s'" % lCnst.Name)
25
26
27 del( lCnst )
28
29
30del( lMgr, lIdx, FBConstraintManager )
Constraint manager.
Definition: pyfbsdk_generated.h:5051
Provides access to the underlying system, and the MotionBuilder scene.
Definition: pyfbsdk_generated.h:18771