One of those things that seemed simple, then stumped me.
Obviously, you can RMB in a panel, and it becomes the "active panel". Any thoughts on how to do his in mel? I know that Maya's 4 main modelPanels are called:
modelPanel1
modelPanel2
modelPanel3
modelPanel4
and their parent is "viewPanes".
I've also dug up this command:
paneLayout -e -api 1 viewPanes;
This seems to "kind of" highlight the provided pane (in this case, modelPane1), but it still dosen't make it the "active panel". The pannel is highlighted, but it's a 1 pixel thick highlight, not the same as clicking in the window.
Any thoughts?