Conveyor: GetProductInArea

Called to get an array of ‘Product’ objects within the specified range along the conveyor. Any part of the product appearing in the specified range will cause that product to be in the results.

Function

Array GetProductInArea(start: double, end: double)

Parameters

Name Type Description
start Double The start distance of the area to check in the units chosen when the project was created (metres or feet)
end Double The end distance of the range to check in the units chosen when the project was created (metres or feet)

Return Value

An Array object that contains product object references, the return value may also be null if no product is found