anObject = anAttr->context();
}
if (anAttrType == ModelAPI_AttributeReference::typeId()) {
AttributeReferencePtr anAttr = std::dynamic_pointer_cast<ModelAPI_AttributeReference>(theAttribute);
anObject = anAttr->context();
}
if (anAttrType == ModelAPI_AttributeReference::typeId()) {
AttributeReferencePtr anAttr = std::dynamic_pointer_cast<ModelAPI_AttributeReference>(theAttribute);