Model.morphloadmvols#

Model.morphloadmvols(morphmvolfile, nauto)#

Loads morph volume, handle, and shape data from a file.

Parameters:
  • morphmvolfile (hwString) – Name of data file written using Model.morphsavemvols().

  • nauto (int) –

    0 - Do not register all nodes found inside morph volumes

    1 - Register all nodes found inside morph volumes

Example#

Load all morph volumes, handles, and shapes in the specified file and load them into the model. Optionally, nodes in the model can be registered for the loaded morph volumes.#
import hm
import hm.entities as ent

model = hm.Model()

model.morphloadmvols(morphmvolfile="mvols.dat", nauto=1)