Model.mechimportdaf#

Model.mechimportdaf(filename)#

Imports the dummy angle file for the current dummy.

The mechanism must have the enabled flag set to true for this to be possible.

Parameters:

filename (hwString) – The full name and path of the file to import.

Example#

Import the current dummy DAF file as “C:/temp/dummy.daf”#
import hm
import hm.entities as ent

model = hm.Model()

model.mechimportdaf(filename="C:/temp/dummy.daf")