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

# ComputeVolumesResults

### *class* ansys.meshing.prime.ComputeVolumesResults(model=None, error\_code=None, error\_locations=None, volumes=None, material\_point\_volumes=None, external\_open\_face\_zonelets=None, warning\_codes=None, json\_data=None, \*\*kwargs)

Results associated with compute volumes.

* **Parameters:**

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

  **error\_code: ErrorCode, optional**
  : Error code associated with the failure of operation.

  **error\_locations: Iterable\[float], optional**
  : Coordinates of problematic locations in the surface mesh.

  **volumes: Iterable\[int], optional**
  : Ids of computed volumes.

  **material\_point\_volumes: Iterable\[int], optional**
  : Ids of computed volumes enclosing material points.

  **external\_open\_face\_zonelets: Iterable\[int], optional**
  : Face zonelet ids that are in external space and not part of any computed volumes.

  **warning\_codes: List\[WarningCode], optional**
  : Warning codes associated with the compute volumes.

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

### Examples

```python theme={null}
>>> compute_volumes_results = prime.ComputeVolumesResults(model = model)
```

### Methods

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

### Attributes

| Name | Description |
| - | - |
| [`ComputeVolumesResults.error_code`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.ComputeVolumesResults.error_code) | Error code associated with the failure of operation. |
| [`ComputeVolumesResults.error_locations`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.ComputeVolumesResults.error_locations) | Coordinates of problematic locations in the surface mesh. |
| [`ComputeVolumesResults.external_open_face_zonelets`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.ComputeVolumesResults.external_open_face_zonelets) | Face zonelet ids that are in external space and not part of any computed volumes. |
| [`ComputeVolumesResults.material_point_volumes`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.ComputeVolumesResults.material_point_volumes) | Ids of computed volumes enclosing material points. |
| [`ComputeVolumesResults.volumes`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.ComputeVolumesResults.volumes) | Ids of computed volumes. |
| [`ComputeVolumesResults.warning_codes`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp03/api/_autosummary/ansys.meshing.prime.ComputeVolumesResults.warning_codes) | Warning codes associated with the compute volumes. |
