Konvoi
11-13-2003, 01:04 PM
I write this code
string $sel[] = `ls -sl -type polySmoothFace`;
int $divisions = `getAttr ( $i + ".divisions" )`;
for ($i in $sel)
{
setAttr ($i + ".divisions") 1;
}
but I must click polysmoothface in channel box before evaluate the code if I want to work it.
How can I work this code without click the polysmoothface in channel box ?
Thanks.
string $sel[] = `ls -sl -type polySmoothFace`;
int $divisions = `getAttr ( $i + ".divisions" )`;
for ($i in $sel)
{
setAttr ($i + ".divisions") 1;
}
but I must click polysmoothface in channel box before evaluate the code if I want to work it.
How can I work this code without click the polysmoothface in channel box ?
Thanks.
