Shape name

Technical discussions
Post Reply
Carlos Feliciano
Posts: 1
Joined: Thu Nov 05, 2020 5:45 am

Shape name

Post by Carlos Feliciano »

Hi
I am playing with dg kernel. Do brep shapes have a name? IBRepShape_DG should be the place for it, but I do not see it. It should be useful.
Thanks

Paul Sachs
Posts: 1
Joined: Sat Jan 02, 2016 3:37 am

Re: Shape name

Post by Paul Sachs »

Hi Carlos
I do not think so. You can assign a name and/or any custom data using maps (Dictionary<TKey,TValue> Class in C#). Use hash of the shape IBRepShape_DG.GetHash() for keys
Cheers

Post Reply