How to divide data into objects?

Hello

I am checking the data by reading the sat file.
Several objects are gathered and made of one sat file.

When I read this file and checked the label through GetFreeShapes(), only the face per label could be known, and the object-related data could not be checked.

I would appreciate it if you could let me know if there is a way to distinguish it by object.

Thank you.

Dmitry Pasukhin's picture

Hello,

For work with special data you can use a special tool - XCAFDoc_*. Available data: name, property, color, layer.
I want to encourage you to take a look at the documentation, see:

If you need more information about these data types or other data types, please let me know.

Best regards,
Dmitry.

junguk park's picture

Thanks for the comment!

I tried to find using XCAFDoc_Area and XCAFDoc_VOLume following the link you gave me, but I couldn't get all the data.

I tried finding subshapes() in label, but the returned value was false, so I couldn't get the subshapes.

Thank you very much if you can check the attached file.
If you check the label with GetFreeShapes(), you will find about 2,500.

Attachments: