Untitled

 avatar
unknown
python
a year ago
287 B
1
Indexable
string  $allPhongs[] = `ls -type("phong")`;

for ($item in  $allPhongs)
{
    // This would be the desired Material type
    string $replaceType = "aiFlat";
     
    string $replaceWith = `createNode $replaceType`;
     
    replaceNode $item $replaceWith;
    
    delete $item;
    
}
Leave a Comment