> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WrapResult

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

Result structure associated to Wrap operation.

* **Parameters:**

  **model: Model**
  : Model to create a `WrapResult` object with default parameters.

  **warning\_codes: List\[WarningCode], optional**
  : Warning codes associated with the wrap operation.

  **error\_code: ErrorCode, optional**
  : Error code associated with a wrap operation.

  **id: int, optional**
  : Id of the wrapper part created.

  **name: str, optional**
  : Name of wrapper part created.

  **json\_data: dict, optional**
  : JSON dictionary to create a `WrapResult` object with provided parameters.

### Examples

```python theme={null}
>>> wrap_result = prime.WrapResult(model = model)
```

### Methods

| Name | Description |
| - | - |
| [`WrapResult.print_default`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.WrapResult.print_default)() | Print the default values of `WrapResult` object. |
| [`WrapResult.set_default`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.WrapResult.set_default)(\[warning\_codes, ...]) | Set the default values of the `WrapResult` object. |

### Attributes

| Name | Description |
| - | - |
| [`WrapResult.error_code`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.WrapResult.error_code) | Error code associated with a wrap operation. |
| [`WrapResult.id`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.WrapResult.id) | Id of the wrapper part created. |
| [`WrapResult.name`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.WrapResult.name) | Name of wrapper part created. |
| [`WrapResult.warning_codes`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.WrapResult.warning_codes) | Warning codes associated with the wrap operation. |
