forループはアトリビュートの一括変更にちょくちょく使います。
I use for loops to change attributes of multiple objects pretty often.
【mel】
string $selected[] = `ls -sl`;
for ($i = 0; $i < `size $selected`; $i++) {
setAttr ($selected[$i]+".tx") 10;
}
forループはアトリビュートの一括変更にちょくちょく使います。
I use for loops to change attributes of multiple objects pretty often.
【mel】
string $selected[] = `ls -sl`;
for ($i = 0; $i < `size $selected`; $i++) {
setAttr ($selected[$i]+".tx") 10;
}