RoboDK Forum
Read and set parameters- 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: Read and set parameters (/Thread-Read-and-set-parameters)



Read and set parameters-Marco Scutari-06-08-2022

Hi everyone. I am trying to write a Python script in which I would read parameters from the station parameters on RoboDK. I set all the parameters in the station parameters but I don't know the Python instruction to read the parameters from the station parameters. Then I would set other parameters in the script. What is the instruction to set parameters on Python? Thanks


RE: Read and set parameters-Albert-06-10-2022

What parameters are you referring to?

I believe you are looking for getParam:
//www.sinclairbody.com/doc/en/PythonAPI/robodk.html#robodk.robolink.Item.getParam