Model.makesecondarymodeleditable#

Model.makesecondarymodeleditable(model_name, edit_state)#

Sets the editable state of secondary models.

Parameters:
  • model_name (hwString) – The name of the secondary model.

  • edit_state (unsigned int) –

    0 - Not editable

    1 - Editable

Example#

Make the secondary model “MyModel” editable#
import hm
import hm.entities as ent

model = hm.Model()

model.makesecondarymodeleditable(model_name="MyModel", edit_state=1)