Skip to main content

Prime Mesh Python client library 2026 R1 SP01

WrapResult

Last update: 29.04.2026

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

>>> wrap_result = prime.WrapResult(model = model)

Methods

Name Description
WrapResult.print_default() Print the default values of WrapResult object.
WrapResult.set_default([warning_codes, ...]) Set the default values of the WrapResult object.

Attributes

Name Description
WrapResult.error_code Error code associated with a wrap operation.
WrapResult.id Id of the wrapper part created.
WrapResult.name Name of wrapper part created.
WrapResult.warning_codes Warning codes associated with the wrap operation.

Connect with Ansys