Model.readmeshcontroltemplate#

Model.readmeshcontroltemplate(filename, mode=0)#

Imports a Mesh Control template file. This is an XML formatted file. This contains all of the mesh control information, except for the entity selection. A file coming from can also be read.

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

  • mode (int) – Reserved for future development

Example#

Import the file “ C:/temp / meshcontrol.xml “#
import hm
import hm.entities as ent

model = hm.Model()

model.readmeshcontroltemplate(filename="C:/temp/meshcontrol.xml", mode=0)