Rhino 8 distribute toolbar with custom plugin

Hi,

at work we have a simple Rhino plugin that has few custom Rhino commands adn a toolbar. Until now we have distributed it with “.rhi” file and it was working fine in Rhino 7, it registered a plugin with version and added toolbar to the environment, however with Rhino 8 toolbar does not want to update to the latest version and retain the older version. I have read that Rhino 8 uses new system for editing toolbars. How can i distribute new plugin and toolbar, will converting installation form RHI to YAK solve the issue?

Yes, if you follow the guide for creating a YAK your current .RUI file will install as a tool bar in R8 fine.

Cheers

DK

So if i just add Toolbar .RUI file into yak it does not install. How do i do ?, Does it need to be in subfolder or somewhere else registered ?

So, if the plugin has been installed before hand, Rhino ignores the RUI or any updates within it. (Quite a pain in A#$E this one, but no luck so far in getting McNeel to change this default behavior)

The “long” way to fix this is to manually open the RUI file from the Rhino/Windows/Toolbar menu.

The “quick and dirty” fix is to un-install the plug-in/restart rhino/re-install the plugin - this is treated as a new install of the plugin and will pickup/install the RUI.

Cheers

DK

Hi,
I have similar issue. but I have even more basic problem - how to pick up the updated rui file from my “developer pc” ( pc on which I do the plugin development) ?

Is “ExportRuiFile” command the only option?

Exported rui works fine on the other pc, but when I overwrite the existing rui on my “developer PC” with this one I got duplicate buttons!?

Rhino obviously keeps the toolbar changes somewhere and combine them with the original toolbar at runtime, but I could not locate it…

my plugin (including *.rui) was transferred from Rhino 7

Thanks in advance
Aleksandar

Hi @AleksandarSM, take a look at this location for an *.xml file which has your rui file name in the name:

C:\Users\UserName\AppData\Roaming\McNeel\Rhinoceros\8.0\settings

normally, if you save your *.rui, it should get rid of the *.xml which stores the changes, but i have not tried if this works with *.rui files coming from Rhino 7.

_
c.