Skip to main content

Prime Mesh Python client library 2025 R2

SearchBySpikeResults

Last update: 10.09.2025

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

>>> search_by_spike_results = prime.SearchBySpikeResults(model = model)

Methods

Name Description
SearchBySpikeResults.print_default() Print the default values of SearchBySpikeResults object.
SearchBySpikeResults.set_default([n_found, ...]) Set the default values of the SearchBySpikeResults object.

Attributes

Name Description
SearchBySpikeResults.error_code Error code associated with search spikes operation.
SearchBySpikeResults.n_found Number of spikes detected.

Connect with Ansys