myShape = ModuleBase_Tools::getShape(theAttribute, theWorkshop);
myRefAttribute = AttributePtr();
myIsObject = false;
- AttributeRefAttrPtr aRefAttr = std::dynamic_pointer_cast<ModelAPI_AttributeRefAttr>(theAttribute);
+ AttributeRefAttrPtr aRefAttr =
+ std::dynamic_pointer_cast<ModelAPI_AttributeRefAttr>(theAttribute);
if (aRefAttr) {
myIsObject = aRefAttr->isObject();
myRefAttribute = aRefAttr->attr();
}
else {
ModuleBase_Tools::setObject(theAttribute, myObject, myShape, theWorkshop, true, true);
- AttributeRefAttrPtr aRefAttr = std::dynamic_pointer_cast<ModelAPI_AttributeRefAttr>(theAttribute);
+ AttributeRefAttrPtr aRefAttr =
+ std::dynamic_pointer_cast<ModelAPI_AttributeRefAttr>(theAttribute);
if (aRefAttr) {
if (!myIsObject)
aRefAttr->setAttr(myRefAttribute);