11-04-2020, 02:07 PM
Using the RoboDK API it is possible to control a robot in the GUI window of RoboDK when executing an external Python file.
Things look nicer when I open the the same file in the GUI (Open -> *.py), as there is the line of movement depicted that the tool will make if it is run with (rightClick -> Run Python Script). When I now change the Python file in an external editor, re-running the file will execute the old instructions before the change. The only way to update that script is to delete it on the GUI and open it again.
So I got two questions:
1. Is there a way to have the line of movement also depicted when running Python externally?
2. Is there an alternative to deleting and re-opening the externally changed Python scripts?
Things look nicer when I open the the same file in the GUI (Open -> *.py), as there is the line of movement depicted that the tool will make if it is run with (rightClick -> Run Python Script). When I now change the Python file in an external editor, re-running the file will execute the old instructions before the change. The only way to update that script is to delete it on the GUI and open it again.
So I got two questions:
1. Is there a way to have the line of movement also depicted when running Python externally?
2. Is there an alternative to deleting and re-opening the externally changed Python scripts?