    

 ## On this page

  

 

 # DetectNonCircularHolesParams

 Last update: 20.02.2026 

<a id="ansys.meshing.prime.DetectNonCircularHolesParams"></a>

### *class* ansys.meshing.prime.DetectNonCircularHolesParams(model=None, allow\_curved\_topo\_faces=None, max\_hole\_length=None, min\_hole\_length=None, merge\_edge\_allow\_self\_close=None, json\_data=None, \*\*kwargs)

Parameters for detect non circular holes operation.

- **Parameters:**
    
    **model: Model**: Model to create a `DetectNonCircularHolesParams` object with default parameters.
    
    **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**.
    
    **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**.
    
    **merge\_edge\_allow\_self\_close: bool, optional**: Option for merging self-closing edge loops.   
    **This is a beta parameter**. **The behavior and name may change in the future**.
    
    **json\_data: dict, optional**: JSON dictionary to create a `DetectNonCircularHolesParams` object with provided parameters.

### Examples

```pycon
&gt;&gt;&gt; detect_non_circular_holes_params = prime.DetectNonCircularHolesParams(model = model)

```

### Methods

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

NameDescription[`DetectNonCircularHolesParams.allow_curved_topo_faces`](ansys.meshing.prime.DetectNonCircularHolesParams.allow_curved_topo_faces.md#ansys.meshing.prime.DetectNonCircularHolesParams.allow_curved_topo_faces)Option to allow holes in curved topoface.[`DetectNonCircularHolesParams.max_hole_length`](ansys.meshing.prime.DetectNonCircularHolesParams.max_hole_length.md#ansys.meshing.prime.DetectNonCircularHolesParams.max_hole_length)Maximum length of holes.[`DetectNonCircularHolesParams.merge_edge_allow_self_close`](ansys.meshing.prime.DetectNonCircularHolesParams.merge_edge_allow_self_close.md#ansys.meshing.prime.DetectNonCircularHolesParams.merge_edge_allow_self_close)Option for merging self-closing edge loops.[`DetectNonCircularHolesParams.min_hole_length`](ansys.meshing.prime.DetectNonCircularHolesParams.min_hole_length.md#ansys.meshing.prime.DetectNonCircularHolesParams.min_hole_length)Minimum length of holes.