Salome HOME
0023591: [EDF] Add test to check meshing plug-ins to SMESH module
[modules/smesh.git] / doc / salome / examples / modifying_meshes_ex11.py
1 # Removing Nodes
2
3 import SMESH_mechanic
4
5 mesh = SMESH_mechanic.mesh
6
7 # remove nodes #246 and #255
8 res = mesh.RemoveNodes([246, 255])
9 if res == 1: print("Nodes removing is OK!")
10 else:        print("KO nodes removing.")