Model.morphcreateresultsfile#

Model.morphcreateresultsfile(collection)#

Creates and loads a results file named “autodv.animate” from the selected shapes. This file contains a simulation for each shape with a displacement data type and is located in the working directory.

Parameters:

collection (Collection) – The collection containing the shape entities.


Create a results file for the shape shapes#
import hm
import hm.entities as ent

model = hm.Model()

model.morphcreateresultsfile(collection=hm.Collection(model, ent.Shape, "name=shape1"))