RobotStudio event

Display Multiple Simultaneous Views in RobotStudio

Hello,

I was wondering if there was any way to display multiple views at the same time in RobotStudio by using the RobotStudio SDK? I am aware that it is possible to create multiple graphic views but as far as I can see they can only be switched between and displayed one at a time. Any suggestions are greatly appreciated. 

Best Answer

Answers

  • To view multiple views, create a new view from the home tab, then right click on the view's tab and select new vertical (or horizontal) tab group.  If you have multiple displays you can also send one of the view to full screen while maintaining the second nested in RS.
  • joman
    joman Sweden
    Thank you Ferosapien.

    This did achieve the result I wanted, however I was hoping to do it in my c# add-in using the RobotStudio SDK. Do you know if this is possible, and if so how? 
  • PerSvensson
    PerSvensson Sweden ✭✭✭
    Possible, take a look at the examples\user interface\add new view\ in the RS API manual
    Per Svensson
    Robotics and Vision Specialist
    Consat Engineering
  • joman
    joman Sweden
    Unfortunately the code in the sample there creates a new view but it just becomes tabbed behind the existing one, which is frustrating since even the description says "This would help to see your station from different views at once" . I've spent a lot of time looking for ways to access the splitter that creates new tab groups in the main window but it doesn't seem to be exposed (or is at least hard to find). 
  • joman
    joman Sweden
    Hello Per,

    Thank you, I didn't think that docking it would cause the effect I wanted so I'm ashamed to say I didn't even try, but sure enough it did the trick. After some modifications of the sizes I managed to create the same effect a "new vertical tab" click does. Thank you again!