Skip to main content

Prime Mesh Python client library 2024 R2

ansys.meshing.prime.lucid.SurfaceScope

Last update: 17.07.2025

SurfaceScope.get_face_zonelets(model, part_id)

Get the list of face zonelets for the given part in the scope.

  • Parameters: model : PyPrimeMesh model.

    part_id : 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)
>>> face_zonelets = su.get_face_zonelets(model, 2)

Connect with Ansys