Human UI stay on top

humanui
#1

Hi all

I have a questions regarding Human UI (Great plugin btw!). I remember the Human UI interface window remaining when minimizing the Grasshopper window, so the user can use the interface without looking at the script - smart. But now it seems that it minimizes together with Grasshopper. Is there a way to control this, so it is always related to the Rhino window?

Thanks in advance and have a nice weekend!

Mat

0 Likes

(Andrew Heumann) #2

The “Launch window” component has some right click options - “Always On Top” is just like it sounds (even over other apps!) - “Child of Grasshopper” will minimize when the grasshopper window does, and “Child of Rhino” will stay up when GH is minimized :slight_smile:

0 Likes

#3

Aha! Precisely what I was looking for. Apparently I did not look hard enough. Thank you Andrew.

0 Likes

#4

Hi Andrew,
Do you know a way to minimize grasshopper window automatically after opening a file?
I’d prefer to avoid scaring users with my spaghetti :spaghetti:

0 Likes

(Andrew Heumann) #5

try this in a c# component:
Grasshopper.Instances.DocumentEditor.WindowState = FormWindowState.Minimized;

0 Likes

#6

Perfetto! Thank you very much!

0 Likes

#7

Hi
I tried to paste the C line in a c# component but it did not work… any special I must do on the C# box to work ?

0 Likes

(Andrew Heumann) #8

In newer versions of Rhino you need to add a using statement as well - using System.Windows.Forms;
It should look like this:

1 Like

#9

It works great !!

THX

0 Likes