Model.morphsavedata#

Model.morphsavedata(morphdatafile)#

Saves global handles and shapes to a file.

Parameters:

morphdatafile (hwString) – Name of file to be written.

Example#

Global handles and all shapes that use global handles are written to the file named “global.dat” in ASCII format#
import hm
import hm.entities as ent

model = hm.Model()

model.morphsavedata(morphdatafile="global.dat")