> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# get_parts

#### SurfaceScope.get\_parts(model)

Get the list of part ids in the scope.

* **Parameters:**

  **model**
  : PyPrimeMesh model.

* **Returns:**

  `Iterable`\[[`int`](https://docs.python.org/3.11/library/functions.html#int)]
  : Returns the list of part ids.

* **Return type:**

  [`Iterable`](https://docs.python.org/3.11/library/typing.html#typing.Iterable)\[[`int`](https://docs.python.org/3.11/library/functions.html#int)]

### Examples

```python theme={null}
>>> from ansys.meshing.prime import Model, SurfaceScope
>>> model = client.model
>>> su = SurfaceScope("*", "*", prime.ScopeEvaluationType.LABELS)
>>> part_ids = su.get_parts()
```
