RhinoCommon: Get Rhino Bounds


Is there a way to get from Rhinocommon the Rhino bounds? The position of the Rhino window in the screen as in RhinoView.Bounds property.


Add a reference to Rhino.UI and call RhinoEtoApp.MainWindow. That will give you an Eto window representation of the main Rhino window that you can then query for things like location and bounds.

1 Like

Hi Steve,

With Rhino maximized, the left top values are negatives. Is this a bug?



@curtisw would probably have a better idea on if this is correct than me.

Hey @rafadelmolino, having a negative location is normal on Windows as when the window is maximized it extends beyond the screen to hide its borders.