Model.hm_clearshape#

Model.hm_clearshape(entity_type=EntityFullType())#

Clears the all graphical shapes or on specific entity type created by Model.hm_plotshape_bycollection(), Model.hm_plotshape_byentity() functions.

Parameters:

entity_type (EntityFullType) – The entity to clear shapes for. Valid entity type is node.

Returns:

Examples#

Clear all shapes for all nodes#
import hm
import hm.entities as ent

model = hm.Model()

model.hm_clearshape(entity_type=ent.Node)
Clear all shapes#
import hm
import hm.entities as ent

model = hm.Model()

model.hm_clearshape()