insert_zone#

LayerCollection.insert_zone(copy_zone=-1)#

Insert a zone.

Parameters:
copy_zoneint, default: -1

Zone to copy from when inserting a new zone. If valid, the new zone is inserted as a copy of the given zone. Otherwise, the new zone is empty.

Returns:
int

ID of the zone inserted if successful.