删除e Parts on Conveyor可打印版本 +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API) +--- Thread: Delete Parts on Conveyor (/Thread-Delete-Parts-on-Conveyor) |
删除e Parts on Conveyor-alexchacon-02-12-2020 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 RE: Delete Parts on Conveyor-Albert-02-13-2020 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):
RE: Delete Parts on Conveyor-alexchacon-02-18-2020 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 |