We are having difficulty with obtaining geometry from ComponentInstances through the C API in SketchUp SDK 2016. We can query all the component definitions in the Model, but:
- There are component definitions with 0 instances. We’d like to skip these
- We want to import all the instances of a component definition. We need to enumerate the instances of a definition for this, and fetch the transformation from the component instance.
We saw that there is a new method in the 2017 SDK: SUComponentDefinitionGetInstances
Is there a tricky workaround we fail to see, or it is just not possible in SketchUp SDK 2016? Please help!