Untitled

Anonymous
python
12/21/2023 4:35 PM
384 B
17
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;
    
}
Editor is loading...
Leave a Comment