07-31-2023, 07:15 PM
(This post was last modified: 08-01-2023, 08:26 AM by Albert.
Edit Reason: Corrected code style
)
When running Python program within RoboDK, I can show/hide the program to show/hide the robot path and I can even toggle the visibility of an other Python program as such :
However, I am interested in exectuting a program externally (with the API) and controlling the visibility of the robot path. How can that be achieved?
For context, I need to separate the Station rdk file from the program mostly for version control.
Code:
program = RDK.Item('name of a program that exists in the tree', ITEM_TYPE_PROGRAM_PYTHON)
program.setVisible(True)
However, I am interested in exectuting a program externally (with the API) and controlling the visibility of the robot path. How can that be achieved?
For context, I need to separate the Station rdk file from the program mostly for version control.