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

#### FileIO.import\_cad(file\_name, params)

Import a CAD file from disk.

Supported CAD file formats on Windows are:

\*.scdoc \*.scdocx \*.dsco \*.fmd \*.agdb \*.pmdb \*.meshdat \*.mechdat \*.dsdb \*.cmdb
\*.sat \*.sab \*.dwg \*.dxf \*.model \*.exp \*.CATPart \*.CATProduct \*.cgr \*.3dxml
\*.prt\* \*.asm\* \*.iges \*.igs \*.ipt \*.iam \*.jt \*.prt \*.x\_t \*.x\_b \*.par \*.psm
\*.asm \*.sldprt \*.sldasm \*.step \*.stp \*.stl \*.plmxml \*.tgf

Supported CAD file formats on Linux are:

\*.fmd \*.agdb \*.pmdb \*.meshdat \*.mechdat \*.dsdb \*.cmdb \*.sat \*.sab
\*.CATPart \*.CATProduct \*.iges \*.igs \*.jt \*.x\_t \*.x\_b \*.step \*.stp
\*.stl \*.plmxml \*.tgf

Refer **Reading and writing files** section in **User guide** for a
comprehensive list of supported formats.

**Parameters:**

**file\_name**

Path to the CAD file on disk.

**params**

Parameters for importing the CAD file.

**Returns:**

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

Results from importing the CAD file.

**Return type:**

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

### Examples

```python theme={null}
>>> import ansys.meshing.prime as prime
>>> prime_client = prime.launch_prime()
>>> model = prime_client.model
>>> file_io = prime.FileIO(model=model)
>>> params = prime.ImportCadParams(model=model)
>>> results = file_io.import_cad("/tmp/my_cad.x_t", params=params)
```
