Community
lMgr.LoadAnimationOnCharacter(lFp.Path + "\\" + fname, lScene.Characters, False, False, False, True, FBFbxManagerLoadAnimationMethod().kFBFbxManagerLoadRetarget, None, False, True, False )
Boost.Python.ArgumentError: Python argument types in
FBFbxManager.LoadAnimationOnCharacter(FBFbxManager, str, FBCharacter, bool, bool, bool, bool, FBFbxManagerLoadAnimationMethod, NoneType, bool, bool, bool)
did not match C++ signature:
LoadAnimationOnCharacter(class PYFBSDK::FBFbxManager_Wrapper {lvalue}, char *, class PYFBSDK::FBCharacter_Wrapper {lvalue}, bool, bool, bool, bool, enum ORSDK80_RC1::FBFbxManagerLoadAnimationMethod, class PYFBSDK::FBPlotOptions_Wrapper {lvalue}, bool, bool, bool)
FBFbxManagerLoadAnimationMethod().kFBFbxManagerLoadRetarget
FBFbxManagerLoadAnimationMethod.kFBFbxManagerLoadRetarget
lMgr.LoadAnimationOnCharacter(lFp.Path + "\\" + fname, lScene.Characters, False, False, False, True, FBFbxManagerLoadAnimationMethod.kFBFbxManagerLoadRetarget, None, False, True, False )
pFileName = r'C:/myPathToImportFile'
pCharacter = FBApplication().CurrentCharacter
pFbxOptions = FBFbxOptions(1)
pPlotOptions = FBPlotOptions()
app = FBApplication()
app.LoadAnimationOnCharacter(pFileName, pCharacter, pFbxOptions, pPlotOptions)
pFbxOptions.ShowOptionsDialog = False
Hi,
I was wondering how to choose which character animation to load if the animation file has mulltiple character animation?
Is it possible to do it through LoadAnimationOnCharacter()?
Thanks.
Can't find what you're looking for? Ask the community or share your knowledge.