    

 ## On this page

  

 

 # set\_default

 Last update: 20.02.2026 

<a id="ansys.meshing.prime.SearchBySpikeResults.set_default"></a>

#### *static* SearchBySpikeResults.set\_default(n\_found=None, error\_code=None)

Set the default values of the `SearchBySpikeResults` object.

- **Parameters:**
    
    **n\_found: int, optional**: Number of spikes detected.
    
    **error\_code: ErrorCode, optional**: Error code associated with search spikes operation.