Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.

Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

RS SDK - Opening i.e. Paths&Targets in AddIn tab

Hello,

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

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);

    /Anders
    Anders Ekelund
    Architect, RobotStudio
    ABB
  • big thanks!
    Benteler Maschinenbau CZ