RobotStudio event

Closest Object problem

Hi, I'm trying to use closest Object to do Pick N Place. I have the robot in a robot cage Cell. I'm using closest object in smart component to pick up a Object, but RS picks up the cage instead of the my intended object. 


The cage is considered an object according to closest object. I want the smart component to ignore it. Is there a way to do so?

Comments

  • https://gofile.io/d/ylZGxi Heres is my file. Trying to do pick n place without picking up the cage in the process.
    Hope to receive advice
  • I did not download your project but you may want to uncheck "Detectable by Sensors" for your cage object.


  • I have done it, but closest object does not attach the target to gripper because the child is always changing even after I uncheck "Detectable by Sensors" for the other objects not involved in the pickNplace