anObjFun->SetDescription( "" );
if ( j > 0 )
pd << ", ";
- pd << aGeomObj;
+ pd << aGeomObj->GetName();
j++;
}
- pd <<"]" << " = geompy.RestoreGivenSubShapes(" << aMainObj << ", " << "[";
+ pd <<"]" << " = geompy.RestoreGivenSubShapes(" << aMainObj->GetName() << ", " << "[";
//i = 0; nb = theArgs.length(); j = 0;
i = 0; nb = anOutArgs->length(); j = 0;
for ( ; i < nb; i++ )
HANDLE_NAMESPACE(GEOM_BaseObject) aGeomObj = _impl->GetObject(anObj->GetStudyID(), anObj->GetEntry());
if ( j > 0 )
pd << ", ";
- pd << aGeomObj;
+ pd << aGeomObj->GetName();
j++;
}
pd <<"]" << ", " <<"GEOM.";
anObjFun->SetDescription( "" );
if ( j > 0 )
pd << ", ";
- pd << aGeomObj;
+ pd << aGeomObj->GetName();
j++;
}
- pd <<"]" << " = geompy.RestoreGivenSubShapes(" << aMainObj << ", " << "[";
+ pd <<"]" << " = geompy.RestoreGivenSubShapes(" << aMainObj->GetName() << ", " << "[";
i = 0; nb = theArgs.length(); j = 0;
for ( ; i < nb; i++ )
{
HANDLE_NAMESPACE(GEOM_BaseObject) aGeomObj = _impl->GetObject(anObj->GetStudyID(), anObj->GetEntry());
if ( j > 0 )
pd << ", ";
- pd << aGeomObj;
+ pd << aGeomObj->GetName();
j++;
}
pd <<"]" << ", " <<"GEOM.";