Model.morphsavemvols#
- Model.morphsavemvols(scollection, savefile, shapes)#
Saves morph volume, handle, and shape data to a file.
- Parameters:
scollection (Collection) – The collection containing the morph volume entities.
savefile (hwString) – Name of data file.
shapes (int) –
0 - Do not save shapes for morph volumes on collection
1 - Save shapes for morph volumes on collection
Example#
This function will save the morph volumes on the collection to the file “mvols.dat” along with any handles on those morph volumes and any shapes which affect the morph volumes.#import hm import hm.entities as ent model = hm.Model() model.morphsavemvols( scollection=hm.CollectionByInteractiveSelection(model, ent.Morphvolume), savefile="mvols.dat", shapes=1, )