Skip to main content

Prime Mesh Python client library 2024 R2

SetLeakPreventionsResults

Last update: 17.07.2025

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