Model.morphupdatedisplay#

Model.morphupdatedisplay(type, mode)#

Updates the display of morphing entities.

Parameters:
  • type (int) –

    0 - All morphing entities

    1 - Global handles and domains

    2 - Local handles and domains

    3 - Morphvolumes

    4 - Morphconstraints

    5 - Symmetries

    6 - Shapes

  • mode (int) –

    0 - Turn off

    1 - Turn on

    2 - Turn on only for entities on displayed elements

Example#

Update the display of morph entities#
import hm
import hm.entities as ent

model = hm.Model()

model.morphupdatedisplay(type=0, mode=0)

Note

If type=0 (all morphing entities) the mode will be the same for all types.