Hello all, I am using a for loop to create a lot of various pieces of geometry and I need to add the resulting geometry from the array into another array while combining the pieces using the following example:

string $geoPieces[];
int $numberOfPieces = result of other proc1;
for ( $i = 0; $i < $numberOfPieces; $i++ )
{
$geoPieces[$i]= `proc2 result`;
// now at the end i want to make all these different polies into one poly if there X ammount
if ( `size $geoPieces` > 50 )
{
string $singlePoly[] = `polyUnite -ch 0 $geoPieces` ;
}
}

Follow Us On:

The CGSociety

The CGSociety is the most respected and accessible global organization for creative digital artists. The CGS supports artists at every level by offering a range of services to connect, inform, educate and promote digital artists worldwide. More about us on TheArtSociety.com