    

 ## On this page

  

 

 # set\_default

 Last update: 29.04.2026 

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

#### *static* ComputeVolumesResults.set\_default(error\_code=None, error\_locations=None, volumes=None, material\_point\_volumes=None, external\_open\_face\_zonelets=None, warning\_codes=None)

Set the default values of the `ComputeVolumesResults` object.

**Parameters:**

**error\_code: ErrorCode, optional**

Error code associated with the failure of operation.

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

Coordinates of problematic locations in the surface mesh.

**volumes: Iterable\[int\], optional**

Ids of computed volumes.

**material\_point\_volumes: Iterable\[int\], optional**

Ids of computed volumes enclosing material points.

**external\_open\_face\_zonelets: Iterable\[int\], optional**

Face zonelet ids that are in external space and not part of any computed volumes.

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

Warning codes associated with the compute volumes.