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

Calling programs inside MAIN python API script

#2
Hello,

You can call any other program/script in the station using RunProgram()
Documentation Link://m.sinclairbody.com/doc/en/PythonAPI/robo...RunProgram

Code:
py_script = RDK.Item('Prog2')
py_script.RunProgram()

Here, I retrieve the Python script Prog2 and then run it using RunProgram()


Messages In This Thread
RE: Calling programs inside MAIN python API script - byVineet- 07-12-2021, 01:42 PM



Users browsing this thread:
1 Guest(s)