Toolbars visibility in Rhino 8

Hello,
I’m C++ developer of Rhino plug-ins.
In some cases I need ability to manage visibility of toolbars directly from my code.
It was easy to implement in Rhino 7 with the C++ SDK function:

static bool CRhinoUiFile::GroupShow(UUID idFile, UUID idGroup, bool bShow);

But Rhino 8 use the new UI system and old method doesn’t work anymore.
Without this feature I lost some of the functionality of plugins.
Has anyone encountered this problem before?.. and maybe you already found a solution to this problem?
I will be grateful for any tips.

Thank you.

1 Like

Hi, I have exactly the same poblem. I want to show a toolbar depending on a specific license of the customer. It looks in Rhino 8 I do not receive the group UUID:

UUID UFileID  = CRhinoUiFile::FileOpen(myToolbar);
int iCount    = CRhinoUiFile::GroupCount(UFileID); // returns 0
UUID UGroupID = CRhinoUiFile::GroupID(UFileID, 0); // returns ON_nil_uuid in R8, returned UUIID in R7
CRhinoUiFile::GroupShow(UFileID, UGroupID, true);  // does not work in R8