smesh/doc/examples/modifying_meshes_ex12.py

9 lines
224 B
Python

# Removing Elements
from mechanic import *
# 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.")