Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

开放面临g 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..
问候
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论坛Guidelinesbefore posting!
Find useful information about RoboDK by visiting our2022世界杯32强赛程表时间 .




Users browsing this thread:
1 Guest(s)