Code to get number of positions

Hello,

I am developing à Userhook application in C# and I would like to get the number of pieces recognised by the camera.

I allready use the command :
picker.AddLog(new ABB.PickMaster.UserHooks.LogMessage("Items: "+positions.Length.ToString()));

But this gives all the recognised positions, even when the camera see two time the same object.

So I would like to know the code to display only the final result with the number of position equal the number of pieces.

Thank you for your help and wish you the best.

Bests regards, Antoine Druet.

Hi, you have better chances getting an answer in the PickMaster forum. This is for Controller SDK CTP. I can see that we have lots of posts here which are not about Controller SDK.

Before I simply help everybody by moving them over, I would like to ask you if there is something in the user interface in the forum application that would make it easier to see the difference between the different forums

:-*