Thursday, January 24, 2008

MoBuPy #5

LoadBegin takes 2 arguments: a filename, and a 'merge' boolean;
Strangely enough: setting merge to False doesn't wipe out story information
(like existing character tracks), but setting merge to True does.

Oh MoBu, why dost thou screw with me?

To recap:

mgr = FBFbxManager()
lbv = mgr.LoadBegin(filename, False) # Really merge, don't trash existing data
set anim/elem states if any
lv = mgr.Load()
ev = mgr.LoadEnd()

If any of lbv, lv, or ev is False, this didn't load...

0 comments: