Skip to main content

Prime Mesh Python client library 2025 R2 SP04

SearchBySpikeParams

Last update: 20.02.2026

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

>>> search_by_spike_params = prime.SearchBySpikeParams(model = model)

Methods

Name Description
SearchBySpikeParams.print_default() Print the default values of SearchBySpikeParams object.
SearchBySpikeParams.set_default([spike_angle]) Set the default values of the SearchBySpikeParams object.

Attributes

Name Description
SearchBySpikeParams.spike_angle Threshold angle for spike detection.

Connect with Ansys