Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get & set the linked robot for a program?
#1
有多个机器人在我的站,我喝醉的nd I can set the desired linked robot for a program using the setRobot() command. But using which command can I *get* which robot the program is linked to?

Best regards,

Maarten
#2
You can use thegetLinkcall on your program and specify the robot type to check what robot a program is linked to.

Example:
Code:
robot = program.getLink(ITEM_TYPE_ROBOT)
#3
Cool, that's what I was looking for!




Users browsing this thread:
1 Guest(s)