import_materials#

Model.import_materials(matml_path, *, material_apdl_path=None)#

Import materials from a MatML file.

Import materials from a MatML.xml (Engineering Data) file.

Optionally, a material APDL file can be defined. This is a pre-generated solver snippet, needed in case of variable materials or non-standard material models. The snippet is used when exporting solid models or surface section cuts in the CDB format.

Parameters:
  • matml_path (str | PathLike[str]) – File path to the MatML file.

  • material_apdl_path (str | PathLike[str] | None) – File path to the material APDL file.

Examples using Model.import_materials#

Materials

Materials