// Author: Gino Dammers - gdammers@xs4all.nl // // This script find all the Non-Manifold edges and selects them // It also pops-up the Component Editor, which tells you what vertexes // are connected to these edges. It's wise to set Auto-Update off in // the Component Editor so that you can de-select and select things without // losing the information you just acquired. global proc findNme() { string $selected_s[] = `ls -sl`; string $nonmanifold[] = `polyInfo -nme`; int $a = size($nonmanifold); if (size($selected_s) > 0) { select -r `polyInfo -nme`; print ("Found a total of " + $a + " Non-Manifold Edges\n"); if ($a > 0) componentEditorWindow; } else print("Nothing Selected... Aborting\n"); }