    

 ## On this page

  

 

 # set\_default

 Last update: 02.04.2026 

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

#### *static* SetNameResults.set\_default(warning\_code=None, assigned\_name=None, error\_code=None)

Set the default values of the `SetNameResults` object.

**Parameters:**

**warning\_code: WarningCode, optional**

Warning code associated with the set name of given entity.

**assigned\_name: str, optional**

Assigned name of given entity.

**error\_code: ErrorCode, optional**

Error code associated with the failure of operation.