]> SALOME platform Git repositories - modules/smesh.git/blob - doc/salome/examples/modifying_meshes_ex12.py
Salome HOME
bos #26452 [EDF] (2021) SMESH: orientation of faces
[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.")