Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
new version of Robodk not letting python script run fully
#1
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).

我不确定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.


Attached Files
.py RoboDK_Test_Script.py(Size: 4.35 KB / Downloads: 131)
#2
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.
Please read theForum Guidelinesbefore posting!
Find useful information about RoboDK by visiting our2022世界杯32强赛程表时间 .
#3
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.
#4
I have found the issue.

Please replace AddMillingProject with AddMachiningProject.
A fix will be provided for AddMillingProject, but it is obsolete anyway.
Please read theForum Guidelinesbefore posting!
Find useful information about RoboDK by visiting our2022世界杯32强赛程表时间 .
#5
ah that worked! thank you!




Users browsing this thread:
1 Guest(s)