return false;
initName();
+
+ myObjects.length(0);
+ myEditCurrentArgument = Group1->LineEdit1;
+ myEditCurrentArgument->setText("");
+
// activate selection and connect selection manager
ConstructorsClicked(getConstructorId());
return true;
else
myEditCurrentArgument->setText(aName);
- if (getConstructorId() == 2)
- Group1->PushButton5->click();
+ /* if (getConstructorId() == 2)
+ Group1->PushButton5->click();*/
}
else if (myEditCurrentArgument == Group1->LineEdit2) {
if (aSelList.Extent() != 1)
//Find SubShape Object in Father
GEOM::GEOM_Object_var aFindedObject = GEOMBase_Helper::findObjectInFather(aSelectedObject, aName);
- if (aFindedObject == GEOM::GEOM_Object::_nil()) { // Object not found in study
+ if (aFindedObject->_is_nil()) { // Object not found in study
GEOM::GEOM_IShapesOperations_var aShapesOp =
getGeomEngine()->GetIShapesOperations(getStudyId());
aSelectedObject = aShapesOp->GetSubShape(aSelectedObject, anIndex);