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

# SubtractVolumesResults

### *class* ansys.meshing.prime.SubtractVolumesResults(model=None, error\_code=None, warning\_codes=None, json\_data=None, \*\*kwargs)

Results of the volume subtract operation.

* **Parameters:**

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

  **error\_code: ErrorCode, optional**
  : Error code associated with the volume subtract operation.

  **warning\_codes: List\[WarningCode], optional**
  : Warning codes associated with the volume subtract operation.

  **This is a beta parameter**. **The behavior and name may change in the future**.

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

### Examples

```python theme={null}
>>> subtract_volumes_results = prime.SubtractVolumesResults(model = model)
```

### Methods

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

### Attributes

| Name | Description |
| - | - |
| [`SubtractVolumesResults.error_code`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.SubtractVolumesResults.error_code) | Error code associated with the volume subtract operation. |
| [`SubtractVolumesResults.warning_codes`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.SubtractVolumesResults.warning_codes) | Warning codes associated with the volume subtract operation. |
