Find an iges shape by name

Technical discussions
Post Reply
Nurlan K
Posts: 1
Joined: Wed Jun 30, 2021 3:29 am

Find an iges shape by name

Post by Nurlan K »

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?


Prashant Kande
Posts: 94
Joined: Mon Apr 04, 2016 4:55 am

Re: Find an iges shape by name

Post by Prashant Kande »

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.


Post Reply