RoboDK Forum
new version of Robodk not letting python script run fully可打印版本

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API)
+--- Thread: new version of Robodk not letting python script run fully (/Thread-new-version-of-Robodk-not-letting-python-script-run-fully)



new version of Robodk not letting python script run fully-audreyv-04-11-2022

Hello,

Some time ago I posted about how a python script that generates a projected curve along with a curve follow project doesn't work with an updated version of RoboDK (works for 5.2.2).

I'm not sure if it has to do with the API changing or something in the script needing to be changed.. I have attached the python script that I normally run.

I can continue using the older version, but was wondering if this had been resolved yet.


RE: new version of Robodk not letting python script run fully-Sam-04-11-2022

Hi!

This works fine on my RoboDK 5.4.1.

What errors do you have?

When installing the new version of RoboDK, did you check the Python option?
If not, go to C:\RoboDK\ and call Python-robodk-Install.bat

If the issue persist, go to C:\RoboDK\Python and delete any __pycache__ folder in any subfolders.


RE: new version of Robodk not letting python script run fully-audreyv-04-11-2022

I did both of these suggestions and neither seemed to helped.. The python script only creates the curve, but does not project the curve or create a curve follow project. The python script also continues to run and doesn't stop until I manually stop it in the settings in RoboDK.


RE: new version of Robodk not letting python script run fully-Sam-04-11-2022

I have found the issue.

Please replace AddMillingProject with AddMachiningProject.
A fix will be provided for AddMillingProject, but it is obsolete anyway.


RE: new version of Robodk not letting python script run fully-audreyv-04-12-2022

ah that worked! thank you!