+ static ModelAPI_ValidatorsFactory* aFactory = ModelAPI_Session::get()->validators();
+ FeaturePtr aFeatOwner = std::dynamic_pointer_cast<ModelAPI_Feature>(theAttr->owner());
+ if (aFeatOwner.get() && !aFactory->isCase(aFeatOwner, theAttr->id())) {
+ return "__notcase__";
+ }