Salome HOME
projects
/
modules
/
smesh.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
23068: [CEA 1505] Be able to keep meshing in 2D after having merged the nodes in 1D
[modules/smesh.git]
/
doc
/
salome
/
examples
/
modifying_meshes_ex12.py
1
# Removing Elements
2
3
import SMESH_mechanic
4
5
mesh = SMESH_mechanic.mesh
6
7
# remove three elements: #850, #859 and #814
8
res = mesh.RemoveElements([850, 859, 814])
9
if res == 1: print "Elements removing is OK!"
10
else: print "KO Elements removing."