I have a non-modal ETO dialog which contains various tools for modeling, layouts etc… I often have several Rhino files open and have to open a new instance of the dialog for each instance of Rhino. Is there a way to open the dialog so it is available to each instance of Rhino?
Hi @GaryC,
Make sure to set the form’s parent window to Rhino.
test_modeless_form.py (2.4 KB)
– Dale
Thanks Dale,
That’s part of the oddity. I do have it parented exactly as you have it. I thought that would make it available to each Rhino instance, but as soon as I select another open instance of Rhino the dialog disappears and I have to open a new one. If I open the dialog from the task manager in Windows the instance of Rhino that it was originally opened from takes the focus.
Cheers,
Gary
Hi @GaryC,
That’s not going to happen. Your dialog is bound to a single instance of Rhino. Thus, each running copy of Rhino will have it’s own dialog.
– Dale
OK, thanks. So be it!