From: rnv Date: Tue, 16 Sep 2008 11:16:42 +0000 (+0000) Subject: Fix for issue 19964 EDF SMESH 803( Bad dump script of revolutionned mesh with groups). X-Git-Tag: V4_1_4a1~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8bfa9cdd5d729dd5f91bfb73a6ad61afde084b23;p=modules%2Fsmesh.git Fix for issue 19964 EDF SMESH 803( Bad dump script of revolutionned mesh with groups). --- diff --git a/doc/salome/gui/SMESH/input/tui_modifying_meshes.doc b/doc/salome/gui/SMESH/input/tui_modifying_meshes.doc index 342968ff7..faf2b50b7 100644 --- a/doc/salome/gui/SMESH/input/tui_modifying_meshes.doc +++ b/doc/salome/gui/SMESH/input/tui_modifying_meshes.doc @@ -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