    

 ## On this page

  

 

 # ansys.meshing.prime.Part

 Last update: 17.07.2025 

#### Part.get\_volumes()

Get all the volumes of the part.

- **Returns:**`Iterable`\[[`int`](https://docs.python.org/3.11/library/functions.html#int)\] : Return ids of volumes.
- **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; volumes = part.get_volumes()

```