Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting Multiple Approach/Retract options through API
Hello RoboDK,

I am making use of the API through C# and am trying to set multiple retract options. The setParams("Retract", ...) allows me to set the parameters for the first retract but I cannot find any examples of how to add a second retract as can be done through the UI. Bascially, I need to have an Overlap retract and then a Normal retract for our system to function correctly. Can you let me know if this is possible and how to accomplish this with the API?    
We just updated RoboDK to support adding multiple approach/retract movement types using the API. Make sure to update RoboDK to the latest version (Windows 64 bit only).

You should simply separate the movement types with the semicolon character. For example:

from robolink import *
RDK = Robolink()
print(m.setParam("ApproachRetract", "Overlap 10;Normal 10;Tangent 20"))
Hey Albert,

Thank you for the information. I will update and check. Will the other versions of RoboDK also get this update? We are currently using Windows but are hoping to switch to the Linux version that can run on the Jetson Xavier so will need this feature on that as well.
Yes, we'll update other platforms as well with the release of RoboDK 5.3 but it will take a few days.

Users browsing this thread:
1 Guest(s)