Model.hm_clearmarker_byentity#

Model.hm_clearmarker_byentity(entity, dataname='')#

Clears the graphical marker on specific entity created by Model.hm_plotmarker_bycollection(), Model.hm_plotmarker_byentity() functions.

Parameters:
  • entity (Entity) – The entity to clear markers for. Valid entities are nodes, elements, points, lines, surfaces and solids.

  • dataname (hwString) – The dataname or attribute to clear markers for.

Returns:

Example#

Clear marker for element with ID 2148#
import hm
import hm.entities as ent

model = hm.Model()

model.hm_clearmarker_byentity(entity=ent.Element(model,2148))