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

# SearchBySpikeResults

### *class* ansys.meshing.prime.SearchBySpikeResults(model=None, n\_found=None, error\_code=None, json\_data=None, \*\*kwargs)

Results structure associated with search spikes operation.

* **Parameters:**

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

  **n\_found: int, optional**
  : Number of spikes detected.

  **error\_code: ErrorCode, optional**
  : Error code associated with search spikes operation.

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

### Examples

```python theme={null}
>>> search_by_spike_results = prime.SearchBySpikeResults(model = model)
```

### Methods

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

### Attributes

| Name | Description |
| - | - |
| [`SearchBySpikeResults.error_code`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.SearchBySpikeResults.error_code) | Error code associated with search spikes operation. |
| [`SearchBySpikeResults.n_found`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.SearchBySpikeResults.n_found) | Number of spikes detected. |
