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 branch 'hydro/imps_2015' into V7_dev
[modules/smesh.git]
/
doc
/
salome
/
examples
/
filters_ex08.py
diff --git
a/doc/salome/examples/filters_ex08.py
b/doc/salome/examples/filters_ex08.py
index 2bc96b672d7896271e1b9a99ed98f34be0d826d0..d87f974536acd273cad7b9dc82ce6db7efc4e8ce 100644
(file)
--- a/
doc/salome/examples/filters_ex08.py
+++ b/
doc/salome/examples/filters_ex08.py
@@
-5,6
+5,6
@@
from SMESH_mechanic import *
mesh.Tetrahedron()
mesh.Compute()
# get volumes faces with volume > 100
mesh.Tetrahedron()
mesh.Compute()
# get volumes faces with volume > 100
-filter = smesh.GetFilter(
smesh.VOLUME, smesh.FT_Volume3D, smesh
.FT_MoreThan, 100)
+filter = smesh.GetFilter(
SMESH.VOLUME, SMESH.FT_Volume3D, SMESH
.FT_MoreThan, 100)
ids = mesh.GetIdsFromFilter(filter)
print "Number of volumes with volume > 100:", len(ids)
ids = mesh.GetIdsFromFilter(filter)
print "Number of volumes with volume > 100:", len(ids)