Groups > Design > Autodesk MotionBuilder Python > Macro in relation




Macro in relation

Macro in relation
Fri, 17 Aug 2007 10:05:10 +000
Hello there ..
I'm trying to put some relation with 'Macro Input' and output in another
relation ..
But i'm unable to define it as Macro ...it seem to always come as sender or
receiver ..here's the code:

c = FBConstraintRelation( 'Macro' )
##i put some boxes inside and macro inputs/o
c1 = FBConstraintRelation( 'Connect' )
#want to put 'c' in this one as a macro

lmac = c1.ConstrainObject( c )
c1.SetBoxPosition(lmac, 900, 30)

###
Is there any other way to put somthing in ? , i only found 'ConstrainObject' and
'SetAsSource'

Thx

Post Reply
about | contact