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

# RefineAtContactsParams

### *class* ansys.meshing.prime.RefineAtContactsParams(model=None, contact\_tolerance=None, relative\_tolerance=None, refine\_max\_size=None, project\_on\_geometry=None, json\_data=None, \*\*kwargs)

Parameters to refine face elements in contact.

* **Parameters:**

  **model: Model**
  : Model to create a `RefineAtContactsParams` object with default parameters.

  **contact\_tolerance: float, optional**
  : Maximum tolerance used to identify face elements as contacts.

  **relative\_tolerance: bool, optional**
  : Option to specify the contact tolerance is relative or absolute.

  **refine\_max\_size: float, optional**
  : Maximum size used to refine contact face elements.

  **project\_on\_geometry: bool, optional**
  : Project on geometry on remesh.

  **json\_data: dict, optional**
  : JSON dictionary to create a `RefineAtContactsParams` object with provided parameters.

### Examples

```python theme={null}
>>> refine_at_contacts_params = prime.RefineAtContactsParams(model = model)
```

### Methods

| Name | Description |
| - | - |
| [`RefineAtContactsParams.print_default`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.RefineAtContactsParams.print_default)() | Print the default values of `RefineAtContactsParams` object. |
| [`RefineAtContactsParams.set_default`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.RefineAtContactsParams.set_default)(\[...]) | Set the default values of the `RefineAtContactsParams` object. |

### Attributes

| Name | Description |
| - | - |
| [`RefineAtContactsParams.contact_tolerance`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.RefineAtContactsParams.contact_tolerance) | Maximum tolerance used to identify face elements as contacts. |
| [`RefineAtContactsParams.project_on_geometry`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.RefineAtContactsParams.project_on_geometry) | Project on geometry on remesh. |
| [`RefineAtContactsParams.refine_max_size`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.RefineAtContactsParams.refine_max_size) | Maximum size used to refine contact face elements. |
| [`RefineAtContactsParams.relative_tolerance`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.RefineAtContactsParams.relative_tolerance) | Option to specify the contact tolerance is relative or absolute. |
