ZoneMeshResult
Last update: 10.09.2025class ansys.meshing.prime.ZoneMeshResult(model=None, zone_name=None, element_ids=None, centroids=None, json_data=None, **kwargs)
Results containing zone-wise mesh information.
Contains zone name, element ids and their corresponding data (such as centroid coordinates) for elements within a zone.
-
Parameters:
model: Model : Model to create a
ZoneMeshResultobject with default parameters.zone_name: str, optional : Name of the zone where the elements belong to.
This is a beta parameter. The behavior and name may change in the future.element_ids: Iterable[int], optional : List of element ids in the zone.
This is a beta parameter. The behavior and name may change in the future.centroids: Iterable[float], optional : Flattened array of centroid coordinates [x1,y1,z1,x2,y2,z2,…].
This is a beta parameter. The behavior and name may change in the future.json_data: dict, optional : JSON dictionary to create a
ZoneMeshResultobject with provided parameters.
Examples
>>> zone_mesh_result = prime.ZoneMeshResult(model = model)
Methods
| Name | Description |
|---|---|
ZoneMeshResult.print_default() |
Print the default values of ZoneMeshResult object. |
ZoneMeshResult.set_default([zone_name, ...]) |
Set the default values of the ZoneMeshResult object. |
Attributes
| Name | Description |
|---|---|
ZoneMeshResult.centroids |
Flattened array of centroid coordinates [x1,y1,z1,x2,y2,z2,...]. |
ZoneMeshResult.element_ids |
List of element ids in the zone. |
ZoneMeshResult.zone_name |
Name of the zone where the elements belong to. |