Open existing 2D camera——革命制度党ntable Version +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) + - - -论坛:通用RoboDK问题(//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK) +--- Thread: Open existing 2D camera (/Thread-Open-existing-2D-camera) |
Open existing 2D camera-ANDY_F1-01-21-2022 Hi How do you open an existing 2D camera view window through API? cam2D_add seems to be the only option but is looking to create a new camera.. Regards Andy RE: Open existing 2D camera-ANDY_F1-01-22-2022 item.setparam("Form","Open") RE: Open existing 2D camera-Sam-01-24-2022 To open an existing camera, use:
Code:
camera_item.setParam('Open', 1)
To view if a camera is already open, use:
Code:
camera_item.setParam('isOpen') == '1'
Note that you need a recent version of RoboDK to do this. |