Community
FBX Forum
Welcome to Autodesk’s FBX Forums. Share your knowledge, ask questions, and explore popular FBX topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Undefined ComputeBBox() in python wrapper

1 REPLY 1
Reply
Message 1 of 2
simone.baldissini
231 Views, 1 Reply

Undefined ComputeBBox() in python wrapper

Hi, I need to calculate the bounding box of a mesh in a python script.
The documentation suggest to populate BBoxMin and BBoxMax with ComputeBBox() defined in KFbxGeometryBase.
I try to invoke the ComputeBBox method to ad instance of a KFbxMesh (that extends KFbxGeometryBase) but the code halt with the error "'KFbxMesh' object has no attribute 'ComputeBBox'"
With dir(fbx.KFbxGeometryBase) I don't find the definition of the method ComputeBBox.
I can access to the properties BBoxMin and BBoxMax but these are equal to .

I have the same problem with the method MemoryUsage!

There is a solution?
thanks
Simon
1 REPLY 1
Message 2 of 2

Unfortunately, this function is currently not exposed via Python. I will make sure to add it on the todo list. Thanks for reporting this!
Robert Goulet, FBX Dev Lead

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report