Window activeview ui.getactiveview ( )
Return the current active view (the one with the orange frame)