    

 ## On this page

  

 

 # get\_zone\_by\_name

 Last update: 29.04.2026 

<a id="ansys.meshing.prime.Model.get_zone_by_name"></a>

#### Model.get\_zone\_by\_name(zone\_name)

Gets the zone with the provided name.

**Parameters:**

**zone\_name**

Name of the zone.

**Returns:**

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

Returns id of the zone.

**Return type:**

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

### Examples

```pycon
>>> client = prime.launch_prime()
>>> model = client.model
>>> zone_id = model.get_zone_by_name("inlet")

```