TriangulateResults#

class ansys.meshing.prime.TriangulateResults(model=None, error_code=None, n_faces_triangulated=None, json_data=None, **kwargs)#

Results associated with triangulate operation.

Parameters:
model: Model

Model to create a TriangulateResults object with default parameters.

error_code: ErrorCode, optional

Error code associated with failure of the operation.

This is a beta parameter. The behavior and name may change in the future.

n_faces_triangulated: int, optional

Number of faces that were triangulated.

This is a beta parameter. The behavior and name may change in the future.

json_data: dict, optional

JSON dictionary to create a TriangulateResults object with provided parameters.

Examples

>>> triangulate_results = prime.TriangulateResults(model = model)

Methods

TriangulateResults.print_default()

Print the default values of TriangulateResults object.

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

Set the default values of the TriangulateResults object.

Attributes

TriangulateResults.error_code

Error code associated with failure of the operation.

TriangulateResults.n_faces_triangulated

Number of faces that were triangulated.