RoboDK Forum
Add Python Program 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: Add Python Program from Python API (/Thread-Add-Python-Program-from-Python-API)



Add Python Program from Python API-SamuelEStreamline-05-27-2022

Is there a way to add a python program to the station tree using the python API?


再保险:dd Python Program from Python API-Albert-05-27-2022

Yes, you can add a Python program to the tree using the RoboDK API.

This is an example using Python:
Code:
from robolink import *
RDK = Robolink()
RDK.AddFile("path-to-python-file.py")



再保险:dd Python Program from Python API-SamuelEStreamline-06-30-2022

(05-27-2022, 09:11 PM)Albert Wrote:Yes, you can add a Python program to the tree using the RoboDK API.

This is an example using Python:
Code:
from robolink import *
RDK = Robolink()
RDK.AddFile("path-to-python-file.py")

Thank you Albert!