get_topo_faces#

SurfaceScope.get_topo_faces(model, part_id)#

Get the list of topofaces for the given part in the scope.

Parameters:
modelModel

PyPrimeMesh model.

part_idint

Id of the part.

Returns:
Iterable[int]

Returns the list of zonelets.

Return type:

Iterable[int]

Examples

>>> from ansys.meshing.prime import Model, SurfaceScope
>>> model = client.model
>>> su = SurfaceScope("*", "*", prime.ScopeEvaluationType.LABELS)
>>> topo_faces = su.get_topo_faces(model, 2)