Skip to main content

Prime Mesh Python client library 2026 R1

SetLeakPreventionsResults

Last update: 02.04.2026

class ansys.meshing.prime.SetLeakPreventionsResults(model=None, error_code=None, ids=None, json_data=None, **kwargs)

Results associated with set leak preventions.

Parameters:

model: Model

Model to create a SetLeakPreventionsResults object with default parameters.

error_code: ErrorCode, optional

Error code associated with the set leak preventions.

ids: Iterable[int], optional

Ids of added leak prevention controls.

json_data: dict, optional

JSON dictionary to create a SetLeakPreventionsResults object with provided parameters.

Examples

>>> set_leak_preventions_results = prime.SetLeakPreventionsResults(model = model)

Methods

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

Attributes

Name Description
SetLeakPreventionsResults.error_code Error code associated with the set leak preventions.
SetLeakPreventionsResults.ids Ids of added leak prevention controls.

Connect with Ansys