Timeout exception when loading a 3D STEP file- Printable Version +- RoboDK Forum (//m.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//m.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: RoboDK API (//m.sinclairbody.com/forum/Forum-RoboDK-API) +--- Thread: Timeout exception when loading a 3D STEP file (/Thread-Timeout-exception-when-loading-a-3D-STEP-file) |
Timeout exception when loading a 3D STEP file-Yohan Lemarchandel-07-26-2021 Hello, 一个超时异常提出了当我加载了一大步file as assembly with the RDK.AddFile() function. I would like to know if there is a way to avoid this error? Thanks, Yohan RE: Timeout exception when loading a 3D STEP file-Jeremy-07-26-2021 Bonjour Yohan, There's a timer TIMEOUT timer somewhere in the RoboDK python libraries (robolink.py and robodk.py) and that needs to be changed, but I can't remember which one. I will ask, and get back to you. At some point, I found it on my own by "ctrl+f" my way through the files, but I don't remember exactly. Jeremy RE: Timeout exception when loading a 3D STEP file-Jeremy-07-26-2021 Rebonjour Yohan,
Code:
RDK.COM.settimeout(RDK.TIMEOUT)
RE: Timeout exception when loading a 3D STEP file-Yohan Lemarchandel-07-27-2021 Bonjour Jeremy, Thanks for your answer, I raised the timeout by setting 120 seconds, it should be enough. Bonne journée, Yohan RE: Timeout exception when loading a 3D STEP file-Jeremy-07-27-2021 Parfait, bonne journée. Jérémy |