if ( NbNodes() == 0 )
return false;
- if ( !HasShapeToMesh() )
- return true;
+ // if ( !HasShapeToMesh() )
+ // return true;
if ( SMESH_subMesh* mainSM = GetSubMeshContaining( 1 ))
{
cmd += "from medutilities import my_remove ; my_remove(r'" + medfilename + "')";
cmd += "\"";
system(cmd.c_str());
- ExportMED(medfilename.c_str(), theMeshName, theAutoGroups,
+ ExportMED(medfilename.c_str(), theMeshName, theAutoGroups, /*minor=*/-1,
/*meshPart=*/NULL, /*theAutoDimension=*/false, /*theAddODOnVertices=*/false,
/*theAllElemsToGroup=*/true ); // theAllElemsToGroup is for PAL0023413
#ifdef WIN32