BasicOperations/FBConstraintManager.py
9 from pyfbsdk
import FBConstraintManager, FBSystem
15 for lIdx
in range( lMgr.TypeGetCount() ):
18 lCnst = lMgr.TypeCreateConstraint( lIdx )
21 lCnst.Name =
"%s Created by script" % lMgr.TypeGetName( lIdx )
24 print "Adding new constraint: '%s'" % lCnst.Name
30 del( lMgr, lIdx, FBConstraintManager )