Hi,
I want to query a brep shape by its name. I do some iges imports. IBRepShape_DG does not seem to have a name property or any user data. Is there a way to do that?
Regards,
Nurlan
Find an iges shape by name
-
- Posts: 121
- Joined: Mon Apr 04, 2016 4:55 am
Re: Find an iges shape by name
Sub-shapes of BRep geometries do not have a name unfortunately. They are considered a pure geometric attribute. You could probably setup a map in your language to assign any per shape name or data.
IBRepShape_DG.GetHash() is a good candidate of a key for the map.
Regards
IBRepShape_DG.GetHash() is a good candidate of a key for the map.
Regards