> ## 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.

# CreateCapResults

### *class* ansys.meshing.prime.CreateCapResults(model=None, error\_code=None, created\_face\_zonelets=None, json\_data=None, \*\*kwargs)

Results associated with create cap on face zonelets.

* **Parameters:**

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

  **error\_code: ErrorCode, optional**
  : Error code associated with the failure of operation.

  **created\_face\_zonelets: Iterable\[int], optional**
  : Ids of cap face zonelets created.

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

### Examples

```python theme={null}
>>> create_cap_results = prime.CreateCapResults(model = model)
```

### Methods

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

### Attributes

| Name | Description |
| - | - |
| [`CreateCapResults.created_face_zonelets`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.CreateCapResults.created_face_zonelets) | Ids of cap face zonelets created. |
| [`CreateCapResults.error_code`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r1-sp01/api/_autosummary/ansys.meshing.prime.CreateCapResults.error_code) | Error code associated with the failure of operation. |
