Is there a way to get/set the Command Prompt Height for Rhino?
I would like to be able to both read and write the current height of the Command Prompt area from code.
I’d also like to react to changes in the windows height, so maybe if the RhinoApp.AppSettingsChanged could be raised whenever the height of the window is adjusted, then I could properly react and place some toast notifications in our application without obscuring the Command Prompt.
I was hoping I could use some generic Eto functions to locate the command window but there is currently no way to do it reliably since the Command window is a special control and is not part of the panel system. Getting the command control host would require additional SDK functions.
Does this mean it won’t be possible, but will be in a future update? Or is this something that won’t be available until v8? Or will this just not ever be available?
I hope this message finds you well. We are preparing to release version 1 of our plugin in January 2025 and were wondering if there’s any chance of obtaining a solution for the issue we’re facing within the next couple of months.
Currently, we’ve been unable to adjust the command prompt height in Rhino 8 due to how we reparent the Rhino window into our custom UI, coupled with some new behavior in the command prompt interface. If we can resolve this, it would allow us to implement our own UI solution ahead of our scheduled release.
Thank you very much for your time and consideration.
Unfortunately it doesn’t really help our users, we do have a default window layout file that we apply, but our Rhino 7 users were accustomed to being able to make the command prompt smaller and larger as needed.
This I believe worked in Rhino 8 initially, I feel like there was a particular SR that broke the behavior, but I can’t be certain which SR.
We include the above segment in our window layout which loads with our Scheme/Skin.
For now I’ve had to create a Rhino Command that unparents the Rhino Window from our main application window, and then reparents the window when they are done adjusting the command prompt height.
If your fix is in this nightly build (see below), unfortunately it doesn’t fix our issue. I can get the resize handle cursor to show, but clicking and dragging has no effect on the command prompt.
The only fix continues to be unparenting Rhinos window from ours, resizing, and reparenting to lock it in place.