+## 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 = smesh.GetFilter(theElemType, smesh.FT_BelongToGeom, theSubShape)
+ return aFilter.GetElementsId(theMesh.GetMesh())
+
+
+anElemType = smesh.FACE;