Model.reviewclearbymark#

Model.reviewclearbymark(collection)#

Removes/clears entities from the review list based on a collection.

Parameters:

collection (Collection) – The collection containing the entities to remove from the review list. Valid values are nodes, elements, points, lines, surfaces, solids, connectors, loads, equations, sytems and vectors.

Example#

Remove the elements with IDs 1-100 from the review list#
import hm
import hm.entities as ent

model = hm.Model()

# Creating a collection that contains the elements with IDs 1-100
filter_elements = hm.FilterByEnumeration(ent.Element, list(range(1, 101)))
elements_collection = hm.Collection(model, filter_elements)

model.reviewclearbymark(collection=elements_collection)