I bumped into Andrew Heumann @andheum at NXTBLD a couple of weeks ago in London and we discussed updating the HumanUI build that a few years old at Andrew’s Github.
I’ve worked on a couple of new versions. The first is basically just a modernised version which is built for .net Core and Rhino 8.0 onwards. This fully supports Rhino WIP and should work going forward. I currently have this version waiting for Andrew to accept the pull request and distribute.
You can download the yak and drop it onto Rhino from here. I’m not putting it in the package manger or F4R yet because Andrew and I haven’t decided who’s going to do that (it will depend on his capacity)
There is a second one…and this one is quite a bit more ambitious. If you’re either using Mac, or just want to play around with a more “alpha” bleeding edge version, you can also try this one:
This one works on Mac. The entire backend has been moved from WPF to our cross platform UI toolkit Eto.Forms.
Please try one of them (or both!) and let me know if it works for you. It would be great if as many people as possible could try these versions with existing GH documents. They should work without any changes.
Hi thread. We ran into a bug in Stack elements after Rhino 8 package manager updated us to 0.8.10. After making a change in a control (a selection in a drop-down) all the collapsible stacks minimized, and couldn’t be re-opened. If there’s a way to reset or fix in the script components, I haven’t found it yet. Our solution is currently to stay on the venerable 0.8.8 version. But posting this info in case it helps with 0.8.10 testing. (if it’d be helpful if I posted this in the repo, let me know!)
But also, thanks, as always, for making (and maintaining) good stuff.
BROKEN HUMAN UI_3.gh (18.1 KB)
I have made a minimal example of an issue I have. This worked perfectly in previous versions of HumanUI but not in the latest update. There are two UI windows, and one will udpate when I change the slider and the other will not.
The one that doesn’t update also has value listener of itself as a dependency:
You may say “Why would you ever do such a thing”, but that’s not the question in focus. I’m just curious why this works in the old version of HumanUI and not the new one. Any ideas?
Thanks for updating Human UI to Rhino 8. It was automatically installed via the Package Manager, but unfortunately it broke the adaptive pull-down menus in all of our definitions.
I was able to reduce the issue to a minimal Grasshopper definition that reproduces the problem. Basically, I have a pull-down menu that adapts to the number of objects being worked on. It allows the user to choose between “All Items” and “Item 1”, “Item 2”, …, “Item n”.
The definition then displays graphs and data for either all objects or specific members of the referenced set. This used to work fine, but now it throws multiple “Object expired during a solution” errors whenever a new set of objects is referenced.
Thanks for the modernized HumanUI build. I tested 0.8.10 (installed via Package Manager) and wanted to share my results.
Setup
Rhino 8 SR36, running on .NET 10.0.2 (Windows 11)
HumanUI 0.8.10 from the Package Manager (old 0.8.1.3 removed from the Libraries folder)
Large existing configurator definition (tabbed view, stacks, pulldowns, value listeners)
Good news
With the old HumanUI 0.8.1.3, Rhino crashed on .NET 10 as soon as the HumanUI window was moved (NullReferenceException in MahApps.Metro.Controls.MetroWindow.get_CriticalHandle, via WindowTitleThumbMoveOnDragDelta). With 0.8.10 this crash is gone and the configurator itself works.
Issue 1: the window cannot be moved
Dragging the window by its title bar does nothing (no crash, it just doesn’t move).
Tested with the Launch Window set to “Child of GH” and to “Child of Rhino”: same result.
Alt+Space with the HumanUI window focused opens the system menu of the Rhino main window, not of the HumanUI window.
Minimizing the HumanUI window does work.
Issue 2: “object expired during a solution”
A C# script component that reads/writes preset values to/from HumanUI elements (via Value Listeners) now triggers: The “C# Script” object expired during a solution. This worked without errors in 0.8.1.3. It may be related to the value listener / pulldown issues already reported in this thread.
For now I’ve gone back to 0.8.1.3 running Rhino on .NET Framework (SetDotNetRuntime), which works fine.
I’m happy to test a new build. If it helps, I can send you the full definition. Since it was made for a client, I’d rather not post it publicly here. Could you send me a private message with an e-mail address, so I can send it to you directly?