smesh/doc/salome/examples/modifying_meshes_ex11.py
2017-03-20 13:41:53 +01:00

11 lines
218 B
Python

# Removing Nodes
import SMESH_mechanic
mesh = SMESH_mechanic.mesh
# remove nodes #246 and #255
res = mesh.RemoveNodes([246, 255])
if res == 1: print("Nodes removing is OK!")
else: print("KO nodes removing.")