Hi,
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.
Thanks,
Hi,
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.
Thanks,
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.
@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.