Model.hm_clearmarker#

Model.hm_clearmarker(entity_type=EntityFullType())#

Clears the all graphical markers or on specific entity type created by Model.hm_plotmarker_bycollection(), Model.hm_plotmarker_byentity() functions.

Parameters:

entity_type (EntityFullType) – The entity types to clear markers for. Valid entities types are node, element, point, line, surface and solid.

Returns:

Examples#

Clear all markers for all elements#
import hm
import hm.entities as ent

model = hm.Model()

model.hm_clearmarker(entity_type=ent.Element)
Clear all markers#
import hm
import hm.entities as ent

model = hm.Model()

model.hm_clearmarker()