dodgy
10-19-2006, 04:28 AM
Hi, I've never scripted much so my question is very simple
I need to setAttr on bunch of nodes.. basically textures arranged in rows and columns. Each node is named "texture_a1_node", "texture_a2_node"... "texture_e9_node"
basically
$row[]={"a","b","c","d","e"};
$column[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
--
setAttr "texture_" row$ column$ "_node.filter" 0;
--
i assume that columns can be counted through i++ instead etc..
anyway.. what do i know.. thats why im asking:)
I need to setAttr on bunch of nodes.. basically textures arranged in rows and columns. Each node is named "texture_a1_node", "texture_a2_node"... "texture_e9_node"
basically
$row[]={"a","b","c","d","e"};
$column[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
--
setAttr "texture_" row$ column$ "_node.filter" 0;
--
i assume that columns can be counted through i++ instead etc..
anyway.. what do i know.. thats why im asking:)
