Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open/Close Files Programmatically
#1
Is there an easy way to open/close specific RoboDK station files from the Python API?
#2
(12-29-2022, 05:45 PM)SamuelEStreamline Wrote: Is there an easy way to open/close specific RoboDK station files from the Python API?

You can open and close a rdk station like this:

Code:
from robodk import robolink

RDK = robolink.Robolink()
station = RDK.AddFile(filename)

#dostuff

station.Save(filename)
RDK.CloseStation()

https://robodk.com/doc/en/PythonAPI/robo...nk.AddFile
https://robodk.com/doc/en/PythonAPI/robo...oseStation
#3
This is great. Thank you!
  




Users browsing this thread:
1 Guest(s)