Sorry guys, I don't get email from this board and long weekend here, but thanks for the pointers, will dive into some of these scripts. Really appreciate the help! :)
ya think i will stick to my method when i know the user will have the viewport as the active pane. since to accomplish that via python mel.eval() needs to be used to get the global variable that is needed. my script that im using this with is a zbrush style viewport snap, so it actually is a safe assumption that it is…
global proc string findNewCurrentModelView() { global string $gMainPane; string $mainPaneCtls[]; string $visPanels[]; string $panelName; string $panelCtl, $edCtl; string $modelEd; int $nArr; int $i; string $newViewFound; string $newView; // // First try to find something in the main pane. // if ($gMainPane != "") {…