Skip to main content

Prime Mesh Python client library 2024 R2

AutoMeshResults

Last update: 17.07.2025

class ansys.meshing.prime.AutoMeshResults(model=None, error_code=None, warning_codes=None, error_locations=None, json_data=None, **kwargs)

Results of volume meshing.

  • Parameters: model: Model : Model to create a AutoMeshResults object with default parameters.

    error_code: ErrorCode, optional : Provides error message when automesh fails.

    warning_codes: List[WarningCode], optional : Warning codes associated with the operation.

    error_locations: Iterable[float], optional : Error location coordinates returned when automesh fails.

    json_data: dict, optional : JSON dictionary to create a AutoMeshResults object with provided parameters.

Examples

>>> auto_mesh_results = prime.AutoMeshResults(model = model)

Methods

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

Attributes

Name Description
AutoMeshResults.error_code Provides error message when automesh fails.
AutoMeshResults.error_locations Error location coordinates returned when automesh fails.
AutoMeshResults.warning_codes Warning codes associated with the operation.

Connect with Ansys