}
string SMESH_Mesh_i::PrepareMeshNameAndGroups(const char* file,
- CORBA::Boolean overwrite)
+ CORBA::Boolean overwrite)
{
// Perform Export
PrepareForWriting(file, overwrite);
throw(SALOME::SALOME_Exception)
{
Unexpect aCatch(SALOME_SalomeException);
- string aMeshName = PrepareMeshNameAndGroups(file, true);
+ string aMeshName = PrepareMeshNameAndGroups(file, overwrite);
TPythonDump() << _this() << ".ExportToMEDX( r'"
<< file << "', " << auto_groups << ", " << theVersion << ", " << overwrite << " )";