Salome HOME
bos #29171 Refactor testing procedure
[modules/smesh.git] / doc / salome / examples / modifying_meshes_ex11.py
diff --git a/doc/salome/examples/modifying_meshes_ex11.py b/doc/salome/examples/modifying_meshes_ex11.py
deleted file mode 100644 (file)
index 16ffe87..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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.")
-
-
-# Removing a Node with Reconnection
-# ==================================
-
-print("Before RemoveNodeWithReconnection(): %s nodes, %s faces" % ( mesh.NbNodes(), mesh.NbFaces()))
-mesh.RemoveNodeWithReconnection( 600 )
-print("After  RemoveNodeWithReconnection(): %s nodes, %s faces" % ( mesh.NbNodes(), mesh.NbFaces()))