Untitled

mail@pastecode.io avatar
unknown
python
2 months ago
287 B
1
Indexable
Never
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