    

 ## On this page

  

 

 # read\_pmdat

 Last update: 29.04.2026 

<a id="ansys.meshing.prime.FileIO.read_pmdat"></a>

#### FileIO.read\_pmdat(file\_name, file\_read\_params)

Read a PyPrimeMesh data (PMDAT) file.

**Parameters:**

**file\_name**

Path to the data file on disk.

**file\_read\_params**

Parameters for reading the data file.

**Returns:**

**[`FileReadResults`](ansys.meshing.prime.FileReadResults.md#ansys.meshing.prime.FileReadResults)**

Results from reading the data file.

**Return type:**

[`FileReadResults`](ansys.meshing.prime.FileReadResults.md#ansys.meshing.prime.FileReadResults)

### Notes

This method does not support Unicode paths.

### Examples

```pycon
>>> import ansys.meshing.prime as prime
>>> #connect client to server and get model from it
>>> client = prime.Client(ip="localhost", port=50060)
>>> model = client.model
>>> file_io = prime.FileIO(model=model)
>>> file_read_params = prime.FileReadParams(model=model)
>>> results = file_io.read_pmdat("/tmp/file.pmdat", file_read_params)

```