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

# DetectHolesParams

### *class* ansys.meshing.prime.DetectHolesParams(model=None, max\_radius\_circular\_holes=None, min\_radius\_circular\_holes=None, max\_hole\_length=None, min\_hole\_length=None, allow\_curved\_topo\_faces=None, json\_data=None, \*\*kwargs)

Parameters for detect holes operation.

* **Parameters:**

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

  **max\_radius\_circular\_holes: float, optional**
  : Maximum radius of circular holes.

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

  **min\_radius\_circular\_holes: float, optional**
  : Minimum radius of circular holes.

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

  **max\_hole\_length: float, optional**
  : Maximum length of holes.

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

  **min\_hole\_length: float, optional**
  : Minimum length of holes.

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

  **allow\_curved\_topo\_faces: bool, optional**
  : Option to allow holes in curved topoface.

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

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

### Examples

```python theme={null}
>>> detect_holes_params = prime.DetectHolesParams(model = model)
```

### Methods

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

### Attributes

| Name | Description |
| - | - |
| [`DetectHolesParams.allow_curved_topo_faces`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.DetectHolesParams.allow_curved_topo_faces) | Option to allow holes in curved topoface. |
| [`DetectHolesParams.max_hole_length`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.DetectHolesParams.max_hole_length) | Maximum length of holes. |
| [`DetectHolesParams.max_radius_circular_holes`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.DetectHolesParams.max_radius_circular_holes) | Maximum radius of circular holes. |
| [`DetectHolesParams.min_hole_length`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.DetectHolesParams.min_hole_length) | Minimum length of holes. |
| [`DetectHolesParams.min_radius_circular_holes`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.DetectHolesParams.min_radius_circular_holes) | Minimum radius of circular holes. |
