Product: GetProductPosition
Called to get the current position (Absolute) of a product component. (we don’t support sorters)
Function
Array GetProductPosition(product: Product);
Parameters
Name | Type | Description |
---|---|---|
product | Product | The product object |
Return Value
Array of Number (X, Y, Z) Positions
Example
var pos = GetProductPosition(product);
LogDebug("Product at " + "X: " + pos[0] + " Y: " + pos[1] + " Z: " + pos[2]);