    

 ## On this page

  

 

 # DetectHolesParams

 Last update: 17.07.2025 

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

```pycon
&gt;&gt;&gt; detect_holes_params = prime.DetectHolesParams(model = model)

```

### Methods

NameDescription[`DetectHolesParams.print_default`](ansys.meshing.prime.DetectHolesParams.print_default.md#ansys.meshing.prime.DetectHolesParams.print_default)()Print the default values of `DetectHolesParams` object.[`DetectHolesParams.set_default`](ansys.meshing.prime.DetectHolesParams.set_default.md#ansys.meshing.prime.DetectHolesParams.set_default)(\[...\])Set the default values of the `DetectHolesParams` object.### Attributes

NameDescription[`DetectHolesParams.allow_curved_topo_faces`](ansys.meshing.prime.DetectHolesParams.allow_curved_topo_faces.md#ansys.meshing.prime.DetectHolesParams.allow_curved_topo_faces)Option to allow holes in curved topoface.[`DetectHolesParams.max_hole_length`](ansys.meshing.prime.DetectHolesParams.max_hole_length.md#ansys.meshing.prime.DetectHolesParams.max_hole_length)Maximum length of holes.[`DetectHolesParams.max_radius_circular_holes`](ansys.meshing.prime.DetectHolesParams.max_radius_circular_holes.md#ansys.meshing.prime.DetectHolesParams.max_radius_circular_holes)Maximum radius of circular holes.[`DetectHolesParams.min_hole_length`](ansys.meshing.prime.DetectHolesParams.min_hole_length.md#ansys.meshing.prime.DetectHolesParams.min_hole_length)Minimum length of holes.[`DetectHolesParams.min_radius_circular_holes`](ansys.meshing.prime.DetectHolesParams.min_radius_circular_holes.md#ansys.meshing.prime.DetectHolesParams.min_radius_circular_holes)Minimum radius of circular holes.