sorry I didn’t tag the right Curtis. Should be @curtisw
@kiteboardshaper could be this is more of a Mac issue than a Rhino issue from what I currently understand. What might help a bit is bringing the focus to Rhino explicitly.
So if I add that line to my python code that just before I call the GetPoint (etc) it should set focus to the Rhino window? Is there a similar command that can force focus back to the ETO.WebView window? As I could call that after Rhino returns the geometry after selection.
Thank you - the Rhino.RhinoApp.SetFocusToMainWindow() does remove one extra click - that was excellent.
The returning focus to the ETO.Webview window might require something a little more - as the code that asked the user to select a point (etc) in the Rhino environment is running in a GH Python script inside of a headless GH.
The UI is a webpage that submits to a web server that is running inside of the headless GH and sets a boolean in a panel to tell the Python code to run.
Is there are way of finding my ETO.Webview window in Python and telling the OS to return focus to it?
@kiteboardshaper the thing @taraskydon is using is currently the way to do that, I’m using those methods too. It still feels a bit like a workaround though and I hope there are ways to improve this, without having to use these overrides for every single dialog. I’ll ask Curtis