Tuesday, February 3, 2009

object part selection script

//this script selects all the corresponding parts in a series of objects (this example selects vertex "3" in a serious of polygons)
//change $qty to be the number of parts

int $qty = 145;

int $i = 1;
while ($i < $qty){
//selects vertex 3 in all panels
select -tgl ("nurbsToPoly5|panel" + $i + ".vtx[3]") ;
$i++;
}

No comments:

Post a Comment