SKetchUpSDK

SUEntitiesGetNumFaces(entities, &faceCount); 读取skp文件时,faceCount为空?

Do you have a question or a problem?

您好 我在使用 [SKetchUpSDK]接口(SUEntitiesGetNumFaces(entities, &faceCount))读取skp文件时总是取不到实体的面?

See the Quick Start > Reading from a .skp file example on the SDK main page.

Also refer to the examples in the "samples" subdirectory of the SDK.

非常感谢!!!我了解到了,应该是模型需要炸开

No, you do not need to explode groups or instances. You can access their definition’s entities collection similar to how you access the model’s entities collection.

Wow. Thank you very much