Function to find zones in
the specified layer. For example,
defines the parent layer of the script module as
the layer to be searched in. If recursive is set to
sublayers will also be searched. The function returns an array with
the Zone objects of the found zones. Particular zones can be searched by name or through a filter function. If searching by name, findZones accepts only
the Zone objects that match the specified name. The filter function uses
the Zone object of each zone as argument. Only
those Zone objects that return
the Zone objects of all zones in the searched
layers will be returned.
Available in: Controller, Processor.
Returns an array with
the Zone objects of the found zones. Returns an empty table if no zones are found.