Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Delete Parts on Conveyor
#1
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: 4)
#2
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:

Code:
if not is_inside_conveyor(newposei):
  obj_i.Delete()
  




Users browsing this thread:
1 Guest(s)