Model.AE_AttachmentControlConvert#

Model.AE_AttachmentControlConvert(name, config)#

Convert an existing attachment control to a different config.

Parameters:
  • name (hwString) – The name of the attachment control to update.

  • config (unsigned int) –

    The new config:

    1 - Rigid spider

    2 - Rigid patch

Example#

Update the rigid_attachment attachment control to a rigid patch#
import hm
import hm.entities as ent

model = hm.Model()

model.AE_AttachmentControlConvert(name="rigid_attachment", config=2)