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

Automating the linking of a program to robot

#1
How can I automate the linking of (sub)programs to a specific robot?

I have a station with multiple robots, each linked with one or more subprograms, and called by a single main program. As I want to export all motion commands for all robots into a single file, Jeremy suggested the workaround to link all subprograms to one robot, and then export:

https://robodk.com/forum/Thread-Possible...mechanisms

When I right mouse click on a program in the station tree, I get to choose which robot the program is linked to. Since I have several robots in one station however, I would like to automate this linking to one robot within RoboDK. Also, the links should be reset back to their original linked robot after finishing the export.

Can I use a Python script in the RoboDK station tree to do so?

Kind regards,

Maarten
#2
Use this function: https://robodk.com/doc/en/PythonAPI/robo...m.setRobot

Jeremy
Find useful information about RoboDK and its features by visiting our Online Documentation and by watching tutorials on our Youtube Channel


  




Users browsing this thread:
1 Guest(s)