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

# AutoMeshResults

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

Results of volume meshing.

**Parameters:**

**model: Model**

Model to create a `AutoMeshResults` object with default parameters.

**error\_code: ErrorCode, optional**

Provides error message when automesh fails.

**warning\_codes: List\[WarningCode], optional**

Warning codes associated with the operation.

**error\_locations: Iterable\[float], optional**

Error location coordinates returned when automesh fails.

**json\_data: dict, optional**

JSON dictionary to create a `AutoMeshResults` object with provided parameters.

### Examples

```python theme={null}
>>> auto_mesh_results = prime.AutoMeshResults(model = model)
```

### Methods

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

### Attributes

| Name | Description |
| - | - |
| [`AutoMeshResults.error_code`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2026-r1/api/_autosummary/ansys.meshing.prime.AutoMeshResults.error_code) | Provides error message when automesh fails. |
| [`AutoMeshResults.error_locations`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2026-r1/api/_autosummary/ansys.meshing.prime.AutoMeshResults.error_locations) | Error location coordinates returned when automesh fails. |
| [`AutoMeshResults.warning_codes`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2026-r1/api/_autosummary/ansys.meshing.prime.AutoMeshResults.warning_codes) | Warning codes associated with the operation. |
