    

 ## On this page

  

 

 # set\_default

 Last update: 29.04.2026 

<a id="ansys.meshing.prime.SetLeakPreventionsResults.set_default"></a>

#### *static* SetLeakPreventionsResults.set\_default(error\_code=None, ids=None)

Set the default values of the `SetLeakPreventionsResults` object.

**Parameters:**

**error\_code: ErrorCode, optional**

Error code associated with the set leak preventions.

**ids: Iterable\[int\], optional**

Ids of added leak prevention controls.