Model.modelcheck_organizechecks#

Model.modelcheck_organizechecks(parent_name, collection)#

Organize the model check entities under a given parent folder.

Parameters:
  • parent_name (hwString) – The name of the parent folder to move the checks into.

  • collection (Collection) – The collection containing the model check entities to move.

Example#

Move checks with IDs 23, 24 and 27 to the ERROR folder#
import hm
import hm.entities as ent

model = hm.Model()

model.modelcheck_organizechecks(
    parent_name="ERROR",
    collection=hm.Collection(model, ent.Modelcheckcheck, [23, 24, 27]),
)