Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Delete Parts on Conveyor

Hi, I don't understan function RunConveyor, I need delete Part at end of conveyor 
but I can't do it, I use te function objects[i].Delete() for delete interest part, and decrease the nobjects, but message of error get on Terminal.
Maybe somebody can help me

Attached Files
.rdk   conveyor_2m.rdk (Size: 154.82 KB / Downloads: 514)
I'm not sure I understand your question.

You can do the following if you want to delete a part when it reaches the end of the conveyor:

if not is_inside_conveyor(newposei):
Hi again, yes I do it but, I get back the following message

Exception: Invalid item provided: The item identifier provided is not valid or it does not exist.

And my program stop

Users browsing this thread:
2 Guest(s)