// if the Geom Object is a group
if (aShape->GetType() == GEOM_GROUP){
// MESSAGE("It's a group");
- GEOM::GEOM_IGroupOperations_ptr aGroupOp =
+ GEOM::GEOM_IGroupOperations_wrap aGroupOp =
_geomEngine->GetIGroupOperations();
ShapeType= (TopAbs_ShapeEnum)aGroupOp->GetType(aShape);
}