]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for issue 19964 EDF SMESH 803( Bad dump script of revolutionned mesh with groups).
authorrnv <rnv@opencascade.com>
Tue, 16 Sep 2008 11:16:42 +0000 (11:16 +0000)
committerrnv <rnv@opencascade.com>
Tue, 16 Sep 2008 11:16:42 +0000 (11:16 +0000)
doc/salome/gui/SMESH/input/tui_modifying_meshes.doc

index 342968ff78b2d14bc57800ec5f1c6a737bb5a0a3..faf2b50b77a1d37dbd0a4418f7121db32a71132d 100644 (file)
@@ -744,13 +744,14 @@ salome.sg.updateObjBrowser(1)
 import math
 
 import SMESH_mechanic
+import SMESH
 
 mesh  = SMESH_mechanic.mesh
 smesh = SMESH_mechanic.smesh
 
 # create a group of faces to be revolved
 FacesRotate = [492, 493, 502, 503]
-GroupRotate = mesh.CreateGroup(SMESH.FACE,"Group of faces (rotate)")
+GroupRotate = mesh.CreateEmptyGroup(SMESH.FACE,"Group of faces (rotate)")
 GroupRotate.Add(FacesRotate)
 
 # define revolution angle and axis