    

 ## On this page

  

 

 # set\_default

 Last update: 29.04.2026 

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

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

Set the default values of the `AutoMeshResults` object.

**Parameters:**

**error\_code: ErrorCode, optional**

Provides error message when automesh fails.

**warning\_codes: List\[WarningCode\], optional**

Warning codes associated with the operation.

**error\_locations: Iterable\[float\], optional**

Error location coordinates returned when automesh fails.