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

# SetContactPreventionsResults

### *class* ansys.meshing.prime.SetContactPreventionsResults(model=None, error\_code=None, ids=None, json\_data=None, \*\*kwargs)

Results associated with set contact preventions.

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

  **error\_code: ErrorCode, optional**
  : Error code associated with the set contact preventions.

  **ids: Iterable\[int], optional**
  : Ids of added contact prevention controls.

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

### Examples

```python theme={null}
>>> set_contact_preventions_results = prime.SetContactPreventionsResults(model = model)
```

### Methods

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

### Attributes

| Name | Description |
| - | - |
| [`SetContactPreventionsResults.error_code`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.SetContactPreventionsResults.error_code) | Error code associated with the set contact preventions. |
| [`SetContactPreventionsResults.ids`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.SetContactPreventionsResults.ids) | Ids of added contact prevention controls. |
