Skip to main content

Prime Mesh Python client library 2026 R1 SP01

SearchBySpikeParams

Last update: 29.04.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