RoboDK Forum
Stop a specific program inside a python program可打印版本

+- 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: Stop a specific program inside a python program (/Thread-Stop-a-specific-program-inside-a-python-program)



Stop a specific program inside a python program-Fabien-04-06-2023

Hi everyone,

Still new to RoboDK, and its API feature. I would like to know if there's a function that stops a program as the.RunProgram(), which runs a specific a program.

Thanks.


RE: Stop a specific program inside a python program-Sam-04-06-2023

The RoboDK API has an online documentation available here:
//www.sinclairbody.com/doc/en/PythonAPI/index.html

The function you are looking for is Stop.
//www.sinclairbody.com/doc/en/PythonAPI/robodk.html?highlight=stop#robodk.robolink.Item.Stop


RE: Stop a specific program inside a python program-Fabien-04-06-2023

Yes, thank you!

I'll use more the online documentation, but while coding I naturally written StopProgram().

Many thanks.