![RobotStudio event](https://new.abb.com/images/librariesprovider89/default-album/robotstudio-webinar-arc-welding.jpg)
RS SDK - Opening i.e. Paths&Targets in AddIn tab
![blind3rr](https://secure.gravatar.com/avatar/2a1835dddcfb7dc4f803b8e5b51efc99/?default=https%3A%2F%2Fus.v-cdn.net%2F5020483%2Fuploads%2Fdefaultavatar%2FK2266OAKOLNC.jpg&rating=g&size=200)
blind3rr
✭
Hello,
please could anyone tell me how can I open Paths&Targets or Layout window in my AddIn tab please?
thx
br,
blinder
please could anyone tell me how can I open Paths&Targets or Layout window in my AddIn tab please?
thx
br,
blinder
Benteler Maschinenbau CZ
0
Comments
-
Hi,You can control the visibility of a Window on a ribbon tab by using the SetTabVisibility() method. So if you have created your own tab with id="myRibbonTabId", then something like this should work:RibbonTab myTab = UIEnvironment.RibbonTabs["myRibbonTabId"];ToolWindow layoutWnd = UIEnvironment.Windows["ObjectBrowser"] as ToolWindow;if (layoutWnd != null) layoutWnd.SetTabVisibility(myTab, true);ToolWindow pathWnd = UIEnvironment.Windows["ElementBrowser"] as ToolWindow;if (pathWnd != null) layoutWnd.SetTabVisibility(myTab, true);/AndersAnders Ekelund
Architect, RobotStudio
ABB1 -
big thanks!
Benteler Maschinenbau CZ0
Categories
- All Categories
- 5.5K RobotStudio
- 397 UpFeed
- 18 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 319 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 804 RAPID Programming
- 4 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings