]> SALOME platform Git repositories - modules/smesh.git/blob - doc/salome/examples/modifying_meshes_ex12.py
Salome HOME
0023360: [CEA 1963] Use salome.sg.updateObjBrowser(True) instead of salome.sg.updateO...
[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."