From 8bfa9cdd5d729dd5f91bfb73a6ad61afde084b23 Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 16 Sep 2008 11:16:42 +0000 Subject: [PATCH] Fix for issue 19964 EDF SMESH 803( Bad dump script of revolutionned mesh with groups). --- doc/salome/gui/SMESH/input/tui_modifying_meshes.doc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2