RoboDK Forum
Problem with execute Python script可打印版本

+- RoboDK Forum (//www.w5838.com/forum)
+-- Forum: RoboDK (EN) (//www.w5838.com/forum/Forum-RoboDK-EN)
+--- Forum: RoboDK API (//www.w5838.com/forum/Forum-RoboDK-API)
+--- Thread: Problem with execute Python script (/Thread-Problem-with-execute-Python-script)



Problem with execute Python script-Piotr K-08-17-2020

Hi,
I have a strange issue with execute python script. For exemple I used "WeldOn" script for my welding simulation and when I use "CALL" instruction nothing happend, but when I use "RUN" instruction then it works. In script desription is written that I need to use "CALL" instead. Is something change in new version (I use RoboDK 5.01) or maybe is some bug at my RoboDK?


Best regards,
Piotr


RE: Problem with execute Python script-Albert-08-17-2020

Hi Piotr,
Can you provide the RoboDK project file?
I believe both Call (blocking call) and Run (non blocking call) should work.
Albert


RE: Problem with execute Python script-Piotr K-08-18-2020

Hi Albert,
Now it works, but sometimes I need to execute macro manualy first by double click on it. I don't know what depend that but at now it looks fine so I will tested more, if I have any more trobule I will ask. Thank you for reply.

Best regards,
Piotr