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

# FileIO

### *class* ansys.meshing.prime.FileIO(model)

Handles reading or writing files from the disk.

* **Parameters:**

  **model**
  : Server model to create FileIO object.

### Methods

| Name | Description |
| - | - |
| [`FileIO.export_boundary_fitted_spline_kfile`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.export_boundary_fitted_spline_kfile)(...) | Export the IGA LS-DYNA keyword file for a boundary fitted spline. |
| [`FileIO.export_fluent_case`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.export_fluent_case)(file\_name, ...) | Export a Fluent case (CAS) file. |
| [`FileIO.export_fluent_meshing_mesh`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.export_fluent_meshing_mesh)(file\_name, ...) | Export a Fluent Meshing mesh (MSH) file. |
| [`FileIO.export_lsdyna_iga_keyword_file`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.export_lsdyna_iga_keyword_file)(...) | Export IGA LS-DYNA Keyword file for solid, surface splines. |
| [`FileIO.export_lsdyna_keyword_file`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.export_lsdyna_keyword_file)(file\_name, ...) | Export FEA LS-DYNA Keyword file for solid, surface mesh, or both. |
| [`FileIO.export_mapdl_cdb`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.export_mapdl_cdb)(file\_name, params) | Export an MAPDL CDB file. |
| [`FileIO.export_stl`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.export_stl)(file\_name, params) | Export an STL file. |
| [`FileIO.get_abaqus_simulation_data`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.get_abaqus_simulation_data)(partId) | Gets simulation document generated by Abaqus import for a given part. |
| [`FileIO.import_abaqus_inp`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.import_abaqus_inp)(file\_name, params) | (BETA FEATURE) Import a Abaqus file. |
| [`FileIO.import_cad`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.import_cad)(file\_name, params) | Import a CAD file from disk. |
| [`FileIO.import_fluent_case`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.import_fluent_case)(file\_name, ...) | Import a Fluent case (CAS) file from disk. |
| [`FileIO.import_fluent_meshing_meshes`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.import_fluent_meshing_meshes)(...) | Import Fluent Meshing's mesh (MS and MSH.GZ) files from disk. |
| [`FileIO.import_fluent_meshing_size_field`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.import_fluent_meshing_size_field)(...) | Import a Fluent Meshing size field (SF and SF.GZ) file from disk. |
| [`FileIO.import_mapdl_cdb`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.import_mapdl_cdb)(file\_name, params) | Import an MAPDL CDB file. |
| [`FileIO.initialize_cdb_export_params`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.initialize_cdb_export_params)(params, ...) | Initialize specific CDB export parameters based on the given version. |
| [`FileIO.read_pmdat`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.read_pmdat)(file\_name, file\_read\_params) | Read a PyPrimeMesh data (PMDAT) file. |
| [`FileIO.read_size_field`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.read_size_field)(file\_name, params) | Read a PyPrimeMesh size field (PSF and PSF.GZ) file from disk. |
| [`FileIO.write_pmdat`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.write_pmdat)(file\_name, file\_write\_params) | Write a PyPrimeMesh data (PMDAT) file. |
| [`FileIO.write_size_field`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.FileIO.write_size_field)(file\_name, params) | Write a PyPrimeMesh size field (PSF) file to a file on disk. |
