Model.metadatamarkremove#

Model.metadatamarkremove(collection, name)#

Removes metadata from the specified collection of entities.

Parameters:
  • collection (Collection) – The collection containing the entities to which the metadata will be removed.

  • name (hwString) – The name by which the metadata is referenced.

Example#

Remove metadata named “Int_Val” from elements with IDs 1 - 100#
import hm
import hm.entities as ent

model = hm.Model()

model.metadatamarkremove(
    collection=hm.Collection(model, ent.Element, list(range(1, 101))), name="Int_Val"
)