Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open existing 2D camera
#1
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
#2
item.setparam("Form","Open")
#3
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.
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)