AutoMeshResults#

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

AutoMeshResults.print_default()

Print the default values of AutoMeshResults object.

AutoMeshResults.set_default([error_code, ...])

Set the default values of the AutoMeshResults object.

Attributes

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.

Examples using AutoMeshResults#

Mesh a saddle bracket for a structural analysis

Mesh a saddle bracket for a structural analysis