get_zone_name#

Model.get_zone_name(id)#

Get the name of given zone.

Parameters:
idint

Id of zone.

Returns:
str

Return the name. Return empty name if the id is invalid.

Return type:

str

Examples

>>> model = prime.local_model()
>>> name = model.get_zone_name(id)