SurfaceScope.get_parts(model)
Get the list of part ids in the scope.- Parameters: model : PyPrimeMesh model.
-
Returns:
Iterable[int] : Returns the list of part ids. -
Return type:
Iterable[int]
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Iterable[int]
: Returns the list of part ids.
Iterable[int]
>>> from ansys.meshing.prime import Model, SurfaceScope
>>> model = client.model
>>> su = SurfaceScope("*", "*", prime.ScopeEvaluationType.LABELS)
>>> part_ids = su.get_parts()
Was this page helpful?