Skip to main content

Prime Mesh Python client library 2026 R1

write

Last update: 02.04.2026

Mesh.write(file_name)

Write or export files of different formats based on file extensions.

This method supports writing and exporting these file formats:

  • Writing PyPrimeMesh’s native PMDAT files
  • Exporting Fluent Meshing’s MSH files
  • Exporting Fluent’s CAS files
  • Exporting MAPDL’s CDB files.
  • Exporting STL files.

Parameters:

file_name

Path of the file to write or export.

Connect with Ansys