I’m not sure where to start regarding toolbars. So I’ll just start here:
Right now I’m trying to upadate icons on an existing toolbar (from bitmap to vector icons.) I’ve updated all the icons. I’m trying to find out where my toolbar is stored, so I go to Rhino Options, Toolbars. I select my toolbar or toolbar group from the drop-down menu, and everything looks great. I go to File->Save. Rhino says my toolbar is saved. I browse to the address that Rhino says it saved my toolbar to, but the timestamp says that it has not been saved for several hours. So…now what? I’ve looked everywhere, but I don’t see an .rui file with the right time stamp.
Backing up a little, also in Rhino Options → Toolbars, I have 6 custom toolbars listed. I want to delete one of them, so I select it and click the delete button. Rhino asks me to confirm, and I say yes. But it does not get deleted.
Also, in same area, if I click the checkbox next to a toolbar, then select the Options gear icon in the corner of the toolbar, then click somewhere else to get out of there, the toolbar goes behind the Rhino Options dialog box. If I move the box so that I can see it again, and then uncheck the box, the toolbar doesn’t go away.
Hi Peter - if you’ve opened a v7 rui file and modified it, then in Options > Toolbar with that opened file slected you use file > Save “rui file name”, you should get, in the very latest, a messge indicating that the toolbar file has been saved, the path, and, if it is a V7 rui, also backed up to a version you can still use in V7.
Now, I am not 100% sure that is all in the release candidate for SR4 but I think it is.
OK, this is interesting - it made me go look to see where my stuff is being saved (or not)…
I have a custom .rui that I exported from V7 originally, it is a completely independent copy. I have spent the last many weeks completely rebuilding it to use only new V8 elements - so there should now be virtually nothing left from the original V7.
That .rui is located in C:\me\SwissRhino\AppData\Roaming\McNeel\Rhinoceros\8.0\UI
and named V8Custom1.rui
So just now I was taken aback to see the date of 25 November 2023 as the “date modified”. I have made tons of changes to that .rui all through December and right up to today and I assumed that every time I closed Rhino these changes would be saved to that .rui. (I have also saved window layouts often) Is that not the case? Where are all the changes I have made stored then? The toolbars are all there in both the Rhino window and the Toolbar dialog.
Yes, that’s what I’m doing. Rhino confirms that it is saved, but the date modified on the file in the location Rhino indicated does not change, so I’m suspicious. I can close Rhino and re-open it, and the toolbar remains, so it’s saving somewhere. But I need to copy it to my plugin .yak file, so I want to make sure it’s the correct file.
It looks like the service release is slightly different. It doesn’t confirm creating of a v7 file, just a v8.
Hi Peter - if you open (make a copy) the file with the old date in V7, does it open and look correct?
@Helvetosaur - the changes are all saved in a ‘changes’ file so that Rhino knows what modifications to show you - these are not saved back to the original file unless you save.
I realize this seems nebulous and confusing compared to V7…
But I copied the file to my desktop, restarted Rhino, and confirmed that the toolbar was gone. Closed rhino, copied file back to the folder it was in before, and it seems like it’s fine. So I used that for my plugin, and it seems ok so far.
Yeah, it seems a bit wacky to me at least. Not really expected behavior to have the changes to a file saved somewhere outside the file - and in an “undisclosed location” to boot.
I had an alias `sw’ in V7 and earlier that would save all the open .rui’s. Hopefully sometime soon this will be macro-able again.
@phcreates - thanks for starting this thread, now I know more and I have saved the .rui and backed it up…
If the rui has already been saved from Rhino 8 it won’t open in Rhino 7 and won’t make a backup. Only pre-Rhino 8 RUI files will create a backup when saved.
So after saving the .rui and closing Rhino and restarting, all the settings on my custom toolbars and buttons in that .rui for image-only, text only or image+text are gone - and they’re all resized incorrectly.
Oh, and restoring the most recent Window Layout did not change anything.
This stuff is still so fubar’ed I can’t believe it…
If Peter has problems with his toolbars then I am in big trouble because I rely on ‘Peter’s Tools’ in a big way! Hope this gets sorted out and thanks for your bars Pete.