get_zone_by_name#

Model.get_zone_by_name(zone_name)#

Gets the zone with the provided name.

Parameters:
zone_namestr

Name of the zone.

Returns:
:
int

Returns id of the zone.

Return type:

int

Examples

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