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

# import_mapdl_cdb

#### FileIO.import\_mapdl\_cdb(file\_name, params)

Import an MAPDL CDB file.

**Parameters:**

**file\_name**

Path to the CDB file on disk.

**params**

Parameters for importing the CDB file.

**Returns:**

**[`ImportMapdlCdbResults`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2026-r1/api/_autosummary/ansys.meshing.prime.ImportMapdlCdbResults)**

Results from importing the CDB file.

**Return type:**

[`ImportMapdlCdbResults`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2026-r1/api/_autosummary/ansys.meshing.prime.ImportMapdlCdbResults)

### Notes

This method does not support Unicode paths.

### Examples

```python theme={null}
>>> 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)
>>> params = prime.ImportMapdlCdbParams(model=model)
>>> results = file_io.import_mapdl_cdb("/tmp/file.cdb", params)
```
