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

# ZoneMeshResult

### *class* ansys.meshing.prime.ZoneMeshResult(model=None, zone\_name=None, element\_ids=None, centroids=None, json\_data=None, \*\*kwargs)

Results containing zone-wise mesh information.

Contains zone name, element ids and their corresponding data (such as centroid coordinates)
for elements within a zone.

**Parameters:**

**model: Model**

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

**zone\_name: str, optional**

Name of the zone where the elements belong to.

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

**element\_ids: Iterable\[int], optional**

List of element ids in the zone.

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

**centroids: Iterable\[float], optional**

Flattened array of centroid coordinates \[x1,y1,z1,x2,y2,z2,…].

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

**json\_data: dict, optional**

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

### Examples

```python theme={null}
>>> zone_mesh_result = prime.ZoneMeshResult(model = model)
```

### Methods

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

### Attributes

| Name | Description |
| - | - |
| [`ZoneMeshResult.centroids`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/api/_autosummary/ansys.meshing.prime.ZoneMeshResult.centroids) | Flattened array of centroid coordinates \[x1,y1,z1,x2,y2,z2,...]. |
| [`ZoneMeshResult.element_ids`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/api/_autosummary/ansys.meshing.prime.ZoneMeshResult.element_ids) | List of element ids in the zone. |
| [`ZoneMeshResult.zone_name`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/api/_autosummary/ansys.meshing.prime.ZoneMeshResult.zone_name) | Name of the zone where the elements belong to. |
