I´d like to select all polySmoothFace* nodes, and change the divisions attribute for all of them, so I could assign a hot key to swith resolutions. I´m new on MEL, and need some help!
This is what I tried:
ls -sl; // (how can I make this a string array?)
$Size = size ($foo+1);
for ($Index = 0; $Index < $Size; $Index++)
$nelson = “polySmoothFace”+$Size + “.divisions”;
setAttr $nelson 2;