Rhino 8: How to save popup toolbar in rhino 8?

I try to save popup toolbar in Rhino8, but I tracked in where i can do this…
When I save it in Rhino 7. I go to TOOLS-Options-Toolbars, and then Right click the “default” button, select the “open” button, I can find the rui file. I can save the rui file so i can get the same popup in another PC.


But i can only find the toolbar in “Window”


and i can’t right click it in “toolars”, so i can’t save it…

i can not find the UI file in the similar file location in rhino8…

So how can i save the popup…by the way, can i transfer the popup toolbar in Rhino7 to Rhino8…
Thanks everybody who could help me…

hi @熊泽嵩

you can save a specific toolbar by dragging it to make it a floating container. Once it is a floating container, you can export this container (.rhc file)

This rhc file can be opened in another Rhino installation this way through _Containers:

thanks a lot bro!!! it is very useful!!!
and i find a bug, once i delete the original “popup”, and load the new rhc file, then if i delete a button in the new “popup”, once i drag it to a floating toolbar, the button i delete will show again…
image
Anyway, thanks you very much!

I cannot repeat that here. Does it return after you have restarted Rhino 8?

no, once i restart Rh8 it turns normal.no more bug. :rofl:

@Gijs

I don’t quite get it. So is .rui now superceded by .rhc ?

I tried exporting .rui but it’s buggy and my other laptop cannot read the same .rui file

No, it is not. But if your toolbar is in the default RUI (which is not really user-accessible) you can export toolbars that way, but it is not the recommended way to move toolbars around, and is planned to get deprecated at some point.
If you have your tools in a custom RUI file, then preferably don’t use export container.

Is this a custom rui file? If your other computer cannot read it, could you send it to me so we can have a look what’s going on?

HS_Tools.rui (34.3 KB)

The first icon and command is missing in another computer.

In my laptop, this is how it looks.
image

I tried maybe 8 times to save it and export it. Still to no avail.

@Wiley In that RUI file are only 3 icons as far as I can see. So from that RUI alone, I cannot debug. There is an outstanding issue with separators messing things up. Can you try to remove that separator and export the toolbar again (after saving) to see if that makes a difference?

Hey I think it’s fine as long as McNeel is aware of this rui bug.

I switched to use .rhc and all four icons are now imported.

@Gijs
Hi, how do you delete the seperator?

It doesn’t seem to work no matter how I export the file. The other person simply could not load the correct icon.

HS_Tools.rhc (46.9 KB)

HS_Design_3.rhc (7.9 KB)

@Gijs We tried exporting the toolbar set again on a different laptop.
This time, it doesn’t even load on another laptop.

We are at our wits’ end now. Rhino 7 didn’t have this problem and definitely this is a regression again.
@stevebaer

I just opened my Rhino 7 and export the .rui, gave my colleagues, and now it’s working on both laptops in Rhino8.

So basically it proves the RUI or RHC export function doesn’t work at all in Rhino 8

One has to go back to Rhino 7 to export it for Rhino 8.

For reference:
Below is RHino 7 export
HS_Tools.rui (35.0 KB)

Below is Rhino 8 export (doesn’t work at all)
HS_Tools.rui (34.8 KB)

1 Like

Hi @Wiley thanks for the files and info. I’ll look into this to see if I can repeat the issue you are seeing and report back asap

@Wiley I could not reproduce the issue you are seeing unfortunately. This is what I tried:

I opened the .rhc file ( the first you sent, the second one is empty). This gives me all the tools and toolbars.
After I exported that as a new toolbar rui with ExportRuiFile, it opens correctly
Importing the Rhino7 export in Rhino works correctly. Exporting that also imports correctly.
I tried opening the Rhino 8 export, which you state doesn’t work at all, and also that one opens correctly on my end.

Can you take a screenshot of what you see in the .rhc file?
@Gijs

Can you do the following to reproduce my error that happens in 2-3 different laptops in our office:

  1. Open my R7-exported RUI with R8

  2. In R8, create a new button in the toolbar

  3. Replace the button with the below icon and give it a command
    RailingBuilder.zip (3.1 KB)

  4. In R8, export the toolbar in RUI or RHC format.

  5. Send the RUI or RHC toolbar to another computer to see if it opens with a empty icon.

@Gijs

Sorry to sound impatient but this bug is wasting us a lot of time.
We tried exporting in Rhino 8 in various ways and every time the .rui is opened in another laptop, it is extremely inconsistent.

image

image

is there follow-up on this or will this be slipped into oblivion like many other issues?

I just checked this issue and I cannot repeat it.
I’m going to send you a daily build to see if that solves your issue. It might be related to an issue that @stevebaer just fixed.

Thanks. I will check it and report back.

1 Like

Can you please make a screenshot of what you see after you open my file? Our team must have spent 20 hours in total already just to figure out how to export an icon properly

HS_Tools.rui (34.9 KB)