You are on page 1of 1

global proc cgtriangle(){

string $name[]=`ls -sl`;


$count= `size $name`;
int $itr;

for ($itr=$count-1; $itr>-1; $itr--){


string $selx= $name[$itr];
select $selx;
$VCount=`polyEvaluate -e`;
polyTriangulate -ch 1;
select $selx;
$VCountB= `polyEvaluate -e`;

if ($VCountB[0]==$VCount[0]){
polyQuad;
};
};

};

You might also like