Here's my problem, I have a specific face from a compound, and I want to retrieve its solid/shell ancestor to keep only this one and remove all the others (for exemple replacing a parallelipipede by a unique face)
Here's what I've tried :
TopExp::MapShapesAndAncestors(myface, TopAbs_FACE, TopAbs_SHELL, myFaceShapeMap);
// Lets go
Standard_Integer nbtemp = myFaceShapeMap.Extent();
for (k=1; k
TopoDS_Face subface = TopoDS::Face(myFaceShapeMap.FindKey(k));
Thanks in advance...