RoboDK Forum
Make a program executable on the real robot from python API可打印版本

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API)
+--- Thread: Make a program executable on the real robot from python API (/Thread-Make-a-program-executable-on-the-real-robot-from-python-API)



Make a program executable on the real robot from python API-Aymane-06-16-2023

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


RE: Make a program executable on the real robot from python API-Albert-06-16-2023

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:
//www.sinclairbody.com/doc/en/PythonAPI/robodk.html#robodk.robolink.Item.setRunType


RE: Make a program executable on the real robot from python API-Aymane-06-19-2023

Hello Albert,

Thank you for your answer, that worked.

有an excellent day.