mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 01:58:35 +05:00
11 lines
251 B
Python
11 lines
251 B
Python
# Removing Elements
|
|
|
|
import SMESH_mechanic
|
|
|
|
mesh = SMESH_mechanic.mesh
|
|
|
|
# remove three elements: #850, #859 and #814
|
|
res = mesh.RemoveElements([850, 859, 814])
|
|
if res == 1: print("Elements removing is OK!")
|
|
else: print("KO Elements removing.")
|