Warning - long postā¦
Relative to this other current thread, I decided to test a few things on my own. Starting out with a completely standard Rhino I thought I would try going through the process of creating a custom workspace. I only got as far as making one new toolbar with a couple of buttons before giving up. If you have the courage, read onā¦
Start of test
So I started by making a new desktop shortcut with a new scheme ā Recon1 (no, not Defcon1, although maybe I should have named it that). I am very glad to see that schemes ā one of the greatest additions to Rhino IMO, have not been affected by the UI changes. Double clicking on the shortcut I created for the new scheme brings up a bog-standard unmodified version of the Rhino workspace. It looks like this:
I then went to Options>Appearance>Toolbars and hit the little gearwheel icon and chose āCreate new file and linkā
ā browsed to the usual spot where .rui files are stored
(C:\Users\<username>\AppData\Roaming\McNeel\Rhinoceros\8.0\UI)
and gave it the name Recon1 and OK.
Nothing in the Rhino interface changed when I did that ā all the tools are still there. What I donāt know is - what did I just do? Did I copy all the default tools to the new rui? Or did I just make a new blank .rui?
In the UI folder a new Recon1.rui has been created, good, bbbut⦠itās only 1Kb. So I suspect itās completely blank. If it had some tools it would have a significant size, V7ās Default.rui is almost 9Mb.
OK, back to Options>Appearance>Toolbars. I want to see what toolbars I have. Where is the list? Nowhere to be seen and no button to open something like a āworkspace editorā⦠OK, close out of Options and go to Tools>Toolbar Layout. Aha, there they are. Why isnāt there an access button from Options>Appearance>Toolbars?
I see in the dropdown there are now both āLibrariesā ā default and Recon1. Default has all the usual toolbars, and Recon1 has⦠none. Itās blank. Suspicion above confirmed. Funny thing, in default, even though the top and left sidebars are showing, NONE of the toolbars in Toolbar Layout are actually checked in the listā¦
And, interestingly enough, the + button to add a new toolbar (inherited directly from Mac, this is not a Windows thing) is active in both Default as well as in Recon1. So it is possible to add a toolbar to default. I assume this modification will be passed on to all schemes using default ā will try that later.
Lets go back to Recon1. Iām going to add a new toolbar ā I call it MyFirstToolbar. Then I get to this window:
Itās a little baffling at first, as everything is blank. Then I realize that I am in Recon1, but there are no actual tools in there. I would have expected the right panel to show me all the possible tools available, but thatās not it. I have to choose the library default where all the tools are in order to be able to transfer them to my new toolbar which presumably is in the Recon1 .rui.
Letās be reasonable, Iām just going to add two tools to the toolbar, Move (which is actually linked to the Transform toolbar) and Copy. Oops, after I added Copy, and scrolled to look at something else in the command list, Rhino WIP froze, then just winked out. No crash report but I did get a dotnet crash file on my desktop. Sooooo⦠letās start all over. In Options>Appearance>Toolbars, my Recon1 file is no longer linked. It still exists though. So I bring it back and hit OK, then I go back to Tools>Toolbar Layout and try to add a new toolbar and tools.
OK, successfully added Move and Copy without crashing, hit next to get the next screen.
And just hit Finish to hopefully get my toolbar. Miracle of miracles, I actually get the toolbar. Not so miraculous, you canāt make it a single row, what you see below is as small as it gets vertically.
Of course, the Move button is no longer linked to the Transform toolbar. OK, letās re-link it. Transform doesnāt exist in Recon1, but I can link it to default.Transform. So now, I have a button in Recon1.rui that links to a toolbar in default. Hard to wrap my head around that.
OK, now for the real fun part, letās try to modify the Copy button. In V7, I have it set to copy without history (LMB) and the same no history for Copy InPlace the RMB but it also selects the copy.
So now we get to try to edit a button. As has been mentioned in other threads, the commands in buttons can no longer be edited directly. A major cluster****. So I hit āSelect or create new Macroā
ā then āNewā and I finally get to create my macro (which I just copied over from V7). I have THREE windows open now.
I can hit OK twice (but not three times) to get back to the button editor and then repeat the procedure for the RMB. Good, so then I hit OK for all that and finally close out of the button editor andā¦.WTF??? The icon image disappears and is replaced with a gray circle.
OK, I open the button editor again and click on the image ā thinking that I MIGHT be able to get the image back from the Copy button. Try that and guess what ā it replaces my new macro with the old one for Copy. Aieee⦠Fortunately I can cancel out of that.
So now I realize that when I create a new macro I also have to go get the image that it should be associated with. Thatās yet another two windows (four actually), first click on the gray image box which brings up the pixel editor, then the gear icon, File, Import standard Rhino imageā¦
Then scroll through the images to try and find Copy ā and guess what??? Itās not there!!! Plus at any given moment the scroll window disappears and the whole Rhino window glitches. Toolbars gone, etc. Looks like this:
Minimizing/maximizing the Rhino window brings back some of it⦠slowly. This is really not ready for prime time! Try again, this time instead of scrolling in the image choice box, I try the search function, and lo and behold, I find the Copy icon because itās labeled āMain 1 Transform Copyā or something like that - and I was looking for it in the āCās.
So, finally that works. Phew. But that certainly isnāt going to work for hundreds of buttons ā Iāll be at it until V9 comes out. Yahhhhhh.
One last thing before I stop here. Using Ctrl+LMB/Drag, I copy the Rectangle button from Default to my new toolbar. I unlink it from the rectangle toolbar. Now, I want to paste a Python script in there that I have that selects rectangles, and itās 40+ lines long.
I go through the āSelect or create new macroā rigamarole, set the Recon1 library, press New, re-browse to find the rectangle image (because the existing one gets thrown out when you hit New) and then ā try to past the script into theā¦ONE LINE place for pasting a macro ā which cannot be expanded. It looks like nothing has happened. The line remains blank. But something has been pasted in there, itās just invisible, you can hit backspace and see lots of blank spaces in there as the cursor moves. I give up and hit OK and it shows me this:
Tried various things, no way to get a script into the button (except maybe a one-line link to an external script). OK, Iām going to give up for now ā this is just too, too broken. Itās free-fall down the rabbit hole - and no bottom in sight.
Edit:
OK, I tried once again and this time I was able to get a script pasted in - I was trying to put it in the wrong place. However, itās a real nightmare. If you want two different scripts in LMB/RMB you can try this - edit the LMB box with all the associated craziness and get the script pasted in there. Then go back and edit the RMB box and paste a different script in there. OK out of that and you find⦠the second script has replaced the first in both boxes - you now have the same script twice.
The only way to have two different scripts LMB/RMB is to DUPLICATE the macro you made with the first script and then edit the duplicate and put the second script. This is beyond crazy. This linking of stuff has gone so far over the edge itās now just a huge hot mess.
PLEASE UNLINK EVERYTHING !!! You have completely destroyed a system that was simple and elegant and allowed even relatively inexperienced users to customize their workspace - one of the best features of Rhino since the beginning.