Not the most elegant solution since I'm not a programmer (yet), but I was able to achieve what I want by inverting the selection, focusing, and then inverting the selection back again. This is my new script to isolate selections:
script: /* Isolate selection */ moi.geometryDatabase.isolate(); script:moi.geometryDatabase.invertSelection(); script:moi.view.resetAll(); script:moi.geometryDatabase.invertSelection();
I hope I get a reply for a more elegant code though =D
Cheers.
|