Mechanical integration helpers#

Warning

The PyACP / PyMechanical integration is still experimental and will change in future releases.

It is also limited in the following ways:

  • Only remote Mechanical sessions on Windows are supported.

  • Only one ACP shell or solid model can be imported into Mechanical.

PyACP currently provides helper functions for integrating with PyMechanical. These functions will be replaced with native PyMechanical functions in the future.

export_mesh_for_acp(*, mechanical, path)

Export the mesh from PyMechanical for use in PyACP.

import_acp_composite_definitions(*, ...)

Import ACP composite definitions HDF5 into Mechanical.

import_acp_mesh_from_cdb(*, mechanical, cdb_path)

Import an ACP CDB mesh into Mechanical.