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

How to import the RoboDK API & toolbox?

#6
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强赛程表时间 .


Messages In This Thread
RE: How to import the RoboDK API & toolbox? -bySam-06-28-2022, 11:33 AM



Users browsing this thread:
1 Guest(s)