Page 1 of 1

Shape name

Posted: Thu Nov 05, 2020 5:49 am
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

Re: Shape name

Posted: Mon Nov 09, 2020 5:05 am
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