    

 ## On this page

  

 

 # set\_default

 Last update: 20.02.2026 

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

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

Set the default values of the `SubtractVolumesResults` object.

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