-
- ResultBodyPtr aResCompSolidPtr = ModelAPI_Tools::bodyOwner(aContext);
- if (aResCompSolidPtr.get()) {
- GeomShapePtr aCompSolidShape = aResCompSolidPtr->shape();
- if (aSelectedCompSolidsInOtherList.isBound(aCompSolidShape)) {
- theError = "Error: Solids from compsolid in other list not allowed.";
- return false;
- }
- }