05-28-2020, 12:10 PM
Hello,
I would like to catch RoboDK messages from a python script.
In the following exemple, running the script on an empty station will result in a RoboDK message asking us to select a robot.
I would like to be able to catch the RoboDK message and remove it from my python script.
Is there anyway to do so?
Thank you,
Abraham
I would like to catch RoboDK messages from a python script.
In the following exemple, running the script on an empty station will result in a RoboDK message asking us to select a robot.
Code:
from robolink import * # RoboDK API
from robodk import * # Robot toolbox
RDK = Robolink()
settings = RDK.AddMillingProject('settings')
settings.setMachiningParameters()
print('this will only be printed once the RoboDK message has been taken care of')
I would like to be able to catch the RoboDK message and remove it from my python script.
Is there anyway to do so?
Thank you,
Abraham