From 20424edc38430717165d00c49833e575834a3980 Mon Sep 17 00:00:00 2001 From: mzn Date: Fri, 27 Oct 2006 11:35:07 +0000 Subject: [PATCH] Fix for bug (IPAL13705 Error during execution of "SMESH_BelongToGeom.py" script). --- src/SMESH_SWIG/SMESH_BelongToGeom.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SMESH_SWIG/SMESH_BelongToGeom.py b/src/SMESH_SWIG/SMESH_BelongToGeom.py index 39699ae2a..83bcb6c6f 100644 --- a/src/SMESH_SWIG/SMESH_BelongToGeom.py +++ b/src/SMESH_SWIG/SMESH_BelongToGeom.py @@ -42,12 +42,13 @@ def CheckBelongToGeomFilterOld(theMeshGen, theMesh, theShape, theSubShape, theEl ## Current style def CheckBelongToGeomFilter(theMesh, theShape, theSubShape, theElemType): import geompy + import smesh if theShape != theSubShape: aName = str(theSubShape) geompy.addToStudyInFather(theShape,theSubShape,aName) theMesh.Compute() - aFilter = theMesh.GetFilter(theElemType, smesh.FT_BelongToGeom, theSubShape) + aFilter = smesh.GetFilter(theElemType, smesh.FT_BelongToGeom, theSubShape) return aFilter.GetElementsId(theMesh.GetMesh()) -- 2.30.2