06-28-2022, 11:33 AM
You need to compare the return from Item.Type() with a robolink.ITEM_TYPE_* in your code.
Code:
if item.Type() == robolink.ITEM_TYPE_ROBOT:
print("this is a robot")
Please read theForum Guidelinesbefore posting!
Find useful information about RoboDK by visiting our2022世界杯32强赛程表时间 .
Find useful information about RoboDK by visiting our2022世界杯32强赛程表时间 .