+ // this could be a whole feature selected
+ FeaturePtr aFeature = aSelAttribute->contextFeature();
+ if (aFeature.get() && aFeature->results().size() > 0) {
+ if (aFeature->firstResult()->groupName() != ModelAPI_ResultBody::group()) {
+ anErrorGroupName = aFeature->firstResult()->groupName();
+ aValid = false;
+ break;
+ }
+ continue;
+ }