Untitled
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