Model.features_remove_selected#

Model.features_remove_selected(collection)#

Deletes specified elements from ^feature and ^open features.

Parameters:

collection (Collection) – The collection containing the element entities within the ^feature and ^open to be deleted.

Example#

Remove elements within collection#
import hm
import hm.entities as ent

model = hm.Model()

elems = hm.Collection(model, ent.Element, list(range(1,11)))

model.features_remove_selected(collection=elems)