From: mzn Date: Thu, 2 Mar 2006 12:51:52 +0000 (+0000) Subject: Fix for bug IPAL11705 ( problems with "import SMESH_GroupLyingOnGeom" ). X-Git-Tag: T2_2_9pre~1 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=9890a58bd3246499ec11d351a44da445ff8597bf Fix for bug IPAL11705 ( problems with "import SMESH_GroupLyingOnGeom" ). --- diff --git a/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py b/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py index 6a4533ea7..31e89c3a1 100644 --- a/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py +++ b/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py @@ -15,9 +15,9 @@ def BuildGroupLyingOn(theMesh, theElemType, theName, theShape): aGroup.Add(anIds) #Example -## from SMESH_test1 import * +from SMESH_test1 import * -## smesh.Compute(mesh, box) -## BuildGroupLyingOn(mesh, SMESH.FACE, "Group of faces lying on edge", edge ) +smesh.Compute(mesh, box) +BuildGroupLyingOn(mesh, SMESH.FACE, "Group of faces lying on edge", edge ) -## salome.sg.updateObjBrowser(1); +salome.sg.updateObjBrowser(1);