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

# refine_at_contacts

#### SurfaceUtilities.refine\_at\_contacts(part\_ids, params)

Refine face elements in contact with other parts.

* **Parameters:**

  **part\_ids**
  : Input part ids.

  **params**
  : Parameters to refine at contacts.

* **Returns:**

  [`RefineAtContactsResults`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2/api/_autosummary/ansys.meshing.prime.RefineAtContactsResults)
  : Returns the RefineAtContactsResults.

* **Return type:**

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

### Examples

```python theme={null}
>>> params = prime.RefineAtContactsParams(model = model)
>>> result = surf_utils.refine_at_contacts(part_ids, params)
```
