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

# mesh

#### AutoMesh.mesh(part\_id, automesh\_params)

Performs volume meshing on the part with the given meshing parameters.

**Parameters:**

**part\_id**

Id of the part.

**automesh\_params**

Parameters for auto mesh.

**Returns:**

**[`AutoMeshResults`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2026-r1/api/_autosummary/ansys.meshing.prime.AutoMeshResults)**

Returns the AutomeshResults.

**Return type:**

[`AutoMeshResults`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2026-r1/api/_autosummary/ansys.meshing.prime.AutoMeshResults)

### Examples

```python theme={null}
>>> auto_mesh = AutoMesh(model = model)
>>> automesh_params = AutoMeshParams(model = model)
>>> results = auto_mesh.mesh(part_id, automesh_params)
```
