The shims.py module#

Summary#

import_materials

Import material from matml file.

Description#

Shims for embedded Mechanical.

These shims are used when APIs are released in newer versions of Mechanical, but workarounds exist in an older release

Module detail#

shims.import_materials(app: ansys.mechanical.core.embedding.Application, material_file: str) None#

Import material from matml file.