    

 ## On this page

  

 

 # AddToZoneResults

 Last update: 02.04.2026 

<a id="ansys.meshing.prime.AddToZoneResults"></a>

### *class* ansys.meshing.prime.AddToZoneResults(model=None, error\_code=None, warning\_codes=None, json\_data=None, \*\*kwargs)

Results associated with the add to zone operation.

**Parameters:**

**model: Model**

Model to create a `AddToZoneResults` object with default parameters.

**error\_code: ErrorCode, optional**

Error code associated with the failure of operation.

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

Warning codes associated with the add to zone operation.

**json\_data: dict, optional**

JSON dictionary to create a `AddToZoneResults` object with provided parameters.

### Examples

```pycon
>>> add_to_zone_results = prime.AddToZoneResults(model = model)

```

### Methods

NameDescription[`AddToZoneResults.print_default`](ansys.meshing.prime.AddToZoneResults.print_default.md#ansys.meshing.prime.AddToZoneResults.print_default)()Print the default values of `AddToZoneResults` object.[`AddToZoneResults.set_default`](ansys.meshing.prime.AddToZoneResults.set_default.md#ansys.meshing.prime.AddToZoneResults.set_default)(\[error\_code, ...\])Set the default values of the `AddToZoneResults` object.### Attributes

NameDescription[`AddToZoneResults.error_code`](ansys.meshing.prime.AddToZoneResults.error_code.md#ansys.meshing.prime.AddToZoneResults.error_code)Error code associated with the failure of operation.[`AddToZoneResults.warning_codes`](ansys.meshing.prime.AddToZoneResults.warning_codes.md#ansys.meshing.prime.AddToZoneResults.warning_codes)Warning codes associated with the add to zone operation.