string $edge = `ls -sl`;
global string $gIsBorderEdge = 0;
proc int isBorderEdge(string $edge)
int $n = size(ls("-fl",(polyListComponentConversion("-fe","-tf", $edge))));
} //returns a 0 for non border edges, 1 for borders.
isBorderEdge($edge[$i]); //call isBorgerEdge procedure for current selection
$count = ( $count + isBorderEdge($edge[$i]) ); //tells how many border edges counted in total
Problem I'm having is that when selecting edges on opposite sides of a deleted face, they are not being recognized as border edges. Any way around this?