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.
Please read the Forum Guidelines before posting!
Find useful information about RoboDK by visiting our Online Documentation.
  




Users browsing this thread:
1 Guest(s)