Hi Mitch, not sure if this works as a temp workaround, i cannot test it on Mac:
dialog = Eto.Forms.SelectFolderDialog()
dialog.Directory = None
dialog.Title = "Choose a folder"
rc = dialog.ShowDialog(None)
if rc != Eto.Forms.DialogResult.Ok: return rc
And @Alain or @curtisw, if you could help here: Why is it not possible to pass the parent window like this:
parent = Rhino.UI.RhinoEtoApp.MainWindow
c = dialog.ShowDialog(parent)
it gave me a “non implemented” error on Windows. I’ve tried all kind of variations eg.
Rhino.RhinoApp.MainWindow() gives me this error:
Message: expected Window, got RhinoWindow
the purpose of passing the parent window is to make the dialog block Rhino while a folder is chosen. If i pass
None as shown above, this does not happen and Rhino is still accessable.