smesh/doc/examples/modifying_meshes_ex12.py

9 lines
224 B
Python
Raw Normal View History

2013-02-12 20:37:44 +06:00
# Removing Elements
2022-04-11 18:28:01 +05:00
from mechanic import *
2013-02-12 20:37:44 +06:00
# remove three elements: #850, #859 and #814
res = mesh.RemoveElements([850, 859, 814])
2017-03-20 17:27:30 +05:00
if res == 1: print("Elements removing is OK!")
else: print("KO Elements removing.")