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

Make a program executable on the real robot from python API

#1
Hello everyone, 

Is there a python command that makes a program executable on the robot directly? I want to do the exact thing on the snapshot (attachement) but using a python script.

I'm sorry that the snapshot is in french but you should have the same menu.

Regards, 

Aymane


Attached Files Image(s)
   
#2
You can set the run type of your program to run on the robot:
Code:
prog.setRunType(PROGRAM_RUN_ON_ROBOT)

You can find more information here:
https://robodk.com/doc/en/PythonAPI/robo...setRunType
#3
Hello Albert,

Thank you for your answer, that worked.

Have an excellent day.
  




Users browsing this thread:
1 Guest(s)