> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# write

#### 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.
