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
Changement de nom
[modules/smesh.git]
/
doc
/
salome
/
examples
/
filters_ex29.py
diff --git
a/doc/salome/examples/filters_ex29.py
b/doc/salome/examples/filters_ex29.py
index c256724b3dc5937a86ce711c0c53e214718d524f..e6b817a4c27d9e8c226d120e4aa68bd058e5f617 100644
(file)
--- a/
doc/salome/examples/filters_ex29.py
+++ b/
doc/salome/examples/filters_ex29.py
@@
-3,6
+3,6
@@
# create mesh
from SMESH_mechanic import *
# get all faces which lie on the cylindrical face \a sub_face1
# create mesh
from SMESH_mechanic import *
# get all faces which lie on the cylindrical face \a sub_face1
-filter = smesh.GetFilter(
smesh.FACE, smesh
.FT_BelongToCylinder, sub_face1)
+filter = smesh.GetFilter(
SMESH.FACE, SMESH
.FT_BelongToCylinder, sub_face1)
ids = mesh.GetIdsFromFilter(filter)
ids = mesh.GetIdsFromFilter(filter)
-print
"Number of faces which lie on the cylindrical surface sub_face1:", len(ids
)
+print
("Number of faces which lie on the cylindrical surface sub_face1:", len(ids)
)