Model.groupchangetype#

Model.groupchangetype(name, config, type)#

Changes the config and type of an existing group.

Parameters:
  • name (hwString) – The name of the group to change.

  • config (int) – The new config value for the group.

  • type (int) – The new type value for the group.

Example#

Changes the config and type of the group#
import hm
import hm.entities as ent

model = hm.Model()

model.groupchangetype(name="group1", config=1, type=2)