    

 ## On this page

  

 

 # set\_default

 Last update: 20.02.2026 

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

#### *static* ConnectResults.set\_default(error\_code=None, warning\_codes=None)

Set the default values of the `ConnectResults` object.

- **Parameters:**
    
    **error\_code: ErrorCode, optional**: Error Code associated with failure of operation.
    
    **warning\_codes: List\[WarningCode\], optional**: Warning codes associated with the operation.