Model.penetrationcheckend#

Model.penetrationcheckend()#

Releases the memory from previous penetration check function operations.

Example#

Check the elements in group “ E2E “ for penetration#
import hm
import hm.entities as ent

model = hm.Model()

# Creating the collection that contains the elements from the group named "E2E"
filter = hm.FilterByCollection(ent.Element, ent.Group)
groups_collection = hm.Collection(model, ent.Group, "name=E2E")
elements_collection = hm.Collection(model, filter, groups_collection)

model.penetrationcheck(collection=elements_collection, check_type=0)
model.penetrationcheckend()