    

 ## On this page

  

 

 # set\_default

 Last update: 16.10.2025 

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

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

Set the default values of the `SetScopeResults` object.

- **Parameters:**
    
    **error\_code: ErrorCode, optional**: Error code associated with the set scope.
    
    **warning\_code: WarningCode, optional**: Warning code associated with the set scope.