Model.hm_editcard#

Model.hm_editcard(collection, config=0, type=0, card_image='')#

Launches the HyperMesh Card Editor to allow editing of a specific entity or collection of entities.

Parameters:
  • collection (Collection) – The collection containing the entity or entities.

  • config (int) – The entity’s configuration number. This is only required for entities that have a configuration number.

  • type (int) – The entity’s solver type number. This is only required for entities that have a type number.

  • card_image (hwString) – The name of the card image to load.

Returns:

Example#

Editing element with ID 100#
import hm
import hm.entities as ent

model = hm.Model()

model.hm_editcard(collection=hm.Collection(model, ent.Element, [100]))