07-31-2025, 12:51 AM
In RoboDK I can right-click the program and click on either "Recalculate Targets" or "Check Path" and if the path is unvalid. A message is shown, showing the reason why it isn't valid and the instruction that is causing it to be invalid.
How do I get that same message via the API? I can run program.Update() to return UpdateResult to get the ValidRatio. However, the message variable is always empty. I tried using program.SetParam("RecalculateTargets") but it just returns OK.
How do I get that same message via the API? I can run program.Update() to return UpdateResult to get the ValidRatio. However, the message variable is always empty. I tried using program.SetParam("RecalculateTargets") but it just returns OK.