Model.elementsettypes#

Model.elementsettypes(collection)#

Sets the element types to the current global value.

Parameters:

collection (Collection) – The collection containing the element entities to be set.

Example#

Set the displayed elements to the current global types#
import hm
import hm.entities as ent

model = hm.Model()

element = hm.Collection(model, ent.Element, populate=True)
model.elementsettypes(collection=element)