    

 ## On this page

  

 

 # set\_default

 Last update: 16.10.2025 

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

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

Set the default values of the `AddToZoneResults` object.

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