Is it possible to get all the mesh data of a sketchup model using sketchup C SDK, without exploding?



When I try to access mesh data of an unexploded model and render it, only few parts of the model are rendered.
So, I want to know if it is possible to render the full model, without exploding it.
Or any way we can explode a model using C API?


To traverse all entities in a SketchUp model you need to traverse the full model tree.

SUModelGetEntities only return the root node of the model three. You also need to recursively dig into the child groups and components. Have a look in the examples in the SDK package.

Exploding is a destructive operation, and also very slow - you should not need to be doing that in order to read data from the model.


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.