X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH_SWIG%2Fsmesh_tools.py;h=e475ab24e7cc47840d93d724af8955d78821ded7;hb=effd6e22299c58b7829614ca9f66796a2e1b3dd9;hp=3d95f730c07f78144de4acbbdcffb1b8aa95aa15;hpb=b131becc0872f2050b117ce5bfc0fda84e34faa6;p=modules%2Fsmesh.git diff --git a/src/SMESH_SWIG/smesh_tools.py b/src/SMESH_SWIG/smesh_tools.py index 3d95f730c..e475ab24e 100644 --- a/src/SMESH_SWIG/smesh_tools.py +++ b/src/SMESH_SWIG/smesh_tools.py @@ -37,6 +37,7 @@ def smesh_create_dual_mesh(mesh_ior, output_file, adapt_to_shape=True, mesh_name shape = mesh.GetShapeToMesh() # Creating output file + logger.debug("Creating file with mesh: "+mesh_name) myfile = mc.MEDFileUMesh() myfile.setName(mesh_name) @@ -58,7 +59,12 @@ def smesh_create_dual_mesh(mesh_ior, output_file, adapt_to_shape=True, mesh_name for grp_name in mc_mesh_file.getGroupsOnSpecifiedLev(-1): + # This group is created by the export + if grp_name == "Group_Of_All_Faces": + logger.debug("Skipping group: "+ grp_name) + continue logger.debug("Transferring group: "+ grp_name) + grp_tria = mc_mesh_file.getGroup(-1, grp_name) # Retrieve the nodes in group grp_nodes = grp_tria.computeFetchedNodeIds()