RoboDK Forum
SampleOfflineProgramming.py not working- Printable Version

+- 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: SampleOfflineProgramming.py not working (/Thread-SampleOfflineProgramming-py-not-working)



SampleOfflineProgramming.py not working-gregs-03-10-2022

Hello,

I’m trying to run the SampleOfflineProgramming.py
When I run the macro, I just get a “Running python scrip…” in the status window but it does not draw the polygon.

Note:
I’ve downloaded the latest version of RoboDK 5.4.1 w/ Python
Checked the post-processor: Universal Robots
When I remove the robot I do get a 'No robot selected or available' just like the message in the python program.

Any ideas on what else I can check?


RE: SampleOfflineProgramming.py not working-Alex-03-10-2022

I have experienced this before. Try replacing the setZoneData() with setRounding()


RE: SampleOfflineProgramming.py not working-gregs-03-10-2022

Hey Alex,

Replacing the setZoneData() with setRounding() did the trick!

Thanks