Restore command - Set window size remembered by Rhino?

Rhino Restore command for the main window size: Is there a Windows registry entry that I can amend to make Rhino remember the size I want it to open at, rather than some arbitrary (and unwanted) size?

Opening a file (one instance), resizing it and immediately closing it has no effect.

Hi Matt -

I’m not aware of such command.

When you exit all instances of Rhino and the launch Rhino, the size of the UI should be remembered. Are you seeing something else?
-wim

Restore is in Help, along with Maximise and Minimise. If I ā€œRestoreā€, Rhino does indeed set my window size back to the weird proportions I currently get when I open a file. So Rhino is storing this info somewhere. But if I drag the window to the size I want (which covers 2 of my 3 screens in a PLP setup, so it’s not maximised to any one display or the entire desktop) and then close Rhino it doesn’t make it remember that size.

So here is an undocumented ā€˜secret’ command…

SetMainWindowSize xxxx yyyy

SetMainframeSize xxxx yyyy

xxxx is the pixel width you want
yyyy is the pixel height you want

This is the size of the entire Rhino window, including title bar, toolbars, status bar.

You can macro your favorite size and put it on a button or alias

Thanks Mitch. You are a treasure trove of information :slightly_smiling_face:

Is there another one to set the position of that window on the desktop?

Not one I know…

The backstory on this ā€˜hidden’ command is that I found out about it more than 20 years ago from Margaret when she was doing Rhino help and documentation. She said she needed it in order to have consistent size screenshots for the files she was making.

Hi Mitch - Just tried running this command and it’s not recognised (v8). What’s the exact syntax to use? No spaces on command line entries!

Sorry, that’s SetMainFrameSize… Just typed the wrong thing.

I use this little helper utility:

The SetMainframeSize command is really helpfull for recording videos in Rhino, thank you for sharing @Helvetosaur !