Salome HOME
Merge from V6_main 28/02/2013
[modules/smesh.git] / doc / salome / examples / filters_ex26.py
1 # Belong to Geom
2
3 # create mesh
4 from SMESH_mechanic import *
5 # get all faces which nodes lie on the face sub_face3
6 filter = smesh.GetFilter(smesh.FACE, smesh.FT_BelongToGeom, sub_face3)
7 ids = mesh.GetIdsFromFilter(filter)
8 print "Number of faces which nodes lie on sub_face3:", len(ids)