Message 1 of 3
Python SDK: GetTakeInfo Error
Not applicable
01-18-2021
07:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I load a single layer animation fbx like this:
from FbxCommon import *
def GetFrameData_FBX(path: str):
manager, scene = InitializeSdkObjects()
result = LoadScene(manager, scene, path)
if not result:
raise IOError('FBX scene not loading')
mode = scene.GetGlobalSettings().GetTimeMode()
stack = scene.GetCurrentAnimationStack()
name = stack.GetName()
info = scene.GetTakeInfo(name)and I get the following error:
AttributeError: 'FbxScene' object has no attribute 'GetTakeInfo' Double checking the API, I see that this is a public member function inherited from FbxDocument. So what the hell gives?!! All y'all need to seriously write better documentation, this has to be one of the worst sets of docos I've ever seen...and that includes open source.