    

 ## On this page

  

 

 # get\_parts

 Last update: 20.02.2026 

<a id="ansys.meshing.prime.lucid.SurfaceScope.get_parts"></a>

#### 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

```pycon
&gt;&gt;&gt; from ansys.meshing.prime import Model, SurfaceScope
&gt;&gt;&gt; model = client.model
&gt;&gt;&gt; su = SurfaceScope("*", "*", prime.ScopeEvaluationType.LABELS)
&gt;&gt;&gt; part_ids = su.get_parts()

```