Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge from BR_plugins_pbyacs 03/04/2013
[modules/smesh.git]
/
doc
/
salome
/
examples
/
filters_ex26.py
diff --git
a/doc/salome/examples/filters_ex26.py
b/doc/salome/examples/filters_ex26.py
index 3c5ce2965e7b67319bf5f13c06e8d815e26f8548..d544466e45db66cd39471c60b8909c3e6fd320ba 100644
(file)
--- a/
doc/salome/examples/filters_ex26.py
+++ b/
doc/salome/examples/filters_ex26.py
@@
-3,6
+3,6
@@
# create mesh
from SMESH_mechanic import *
# get all faces which nodes lie on the face sub_face3
# create mesh
from SMESH_mechanic import *
# get all faces which nodes lie on the face sub_face3
-filter = smesh.GetFilter(
smesh.FACE, smesh
.FT_BelongToGeom, sub_face3)
+filter = smesh.GetFilter(
SMESH.FACE, SMESH
.FT_BelongToGeom, sub_face3)
ids = mesh.GetIdsFromFilter(filter)
print "Number of faces which nodes lie on sub_face3:", len(ids)
ids = mesh.GetIdsFromFilter(filter)
print "Number of faces which nodes lie on sub_face3:", len(ids)