Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open existing 2D camera
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..
To open an existing camera, use:

camera_item.setParam('Open', 1)

To view if a camera is already open, use:

camera_item.setParam('isOpen') == '1'

Note that you need a recent version of RoboDK to do this.
Find useful information about RoboDK and its features by visiting our Online Documentation and by watching tutorials on our YouTube Channel.

Users browsing this thread:
1 Guest(s)