Model.morphentitydelete#

Model.morphentitydelete(ecollection)#

Deletes entities on a collection.

Parameters:

ecollection (Collection) – The collection containing the entities to delete.

Example#

Delete the handle entities selected interacively#
import hm
import hm.entities as ent

model = hm.Model()

model.morphentitydelete(
    ecollection=hm.CollectionByInteractiveSelection(model, ent.Handle)
)