I have noticed a difference in behaviors between windows and macOS version of Rhino when selecting/unselecting objects in a document.
On windows, the process is rather fast.
On macOS it is much slower because Rhino open and prompt either Object properties or Display panel.
My purpose is to make possible to see an animation of a model being constructed (see the two gif under).
As you can see, there is a way to hide the panels under macOS, but I achieved this only manually. I tried to do the following :
And reopen at the end of the process. But selecting the element will re-open the panels every time. Though it is only doing it on Rhino for mac.
The code i use for selecting objects is : doc.Objects.Select()