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

# SearchBySpikeParams

### *class* ansys.meshing.prime.SearchBySpikeParams(model=None, spike\_angle=None, json\_data=None, \*\*kwargs)

Parameters to control spike detection.

* **Parameters:**

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

  **spike\_angle: float, optional**
  : Threshold angle for spike detection.

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

### Examples

```python theme={null}
>>> search_by_spike_params = prime.SearchBySpikeParams(model = model)
```

### Methods

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

### Attributes

| Name | Description |
| - | - |
| [`SearchBySpikeParams.spike_angle`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp04/api/_autosummary/ansys.meshing.prime.SearchBySpikeParams.spike_angle) | Threshold angle for spike detection. |
