Sharing sub shapes

Technical discussions
Post Reply
Chaos D
Posts: 1
Joined: Mon Feb 04, 2019 12:38 am

Sharing sub shapes

Post by Chaos D »

Hi
I see IBRepShape_DG.GetAncestors() http://www.dynoinsight.com/Help/V6_0/In ... tAncestors
Does that mean that say, faces, cannot be shared between solids?
Thanks

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

Re: Sharing sub shapes

Post by Prashant Kande »

That is correct. Objects, implementing IBrepShape_DG, which are compound,...,vertex from the DG brep structure hierarchy are not shareable, i.e. adding the same instance of IEdge_DG to faces from different solids will not work.
We suggest using cloning and mapping to/from old instances where necessary.
Regards

Post Reply