safakoner
12-31-2003, 07:50 PM
Hi
I am in trouble with polySmoothFace. I wrote a code. My code is below.
I execute the command and do nothing but if I click polySmoothFace# in channel box and open the attr. than
execute the script the code is working. I want to run this script without click the channel box.
How can I do that ?
Thanks.
string $psl[] = `ls -sl -type polySmoothFace`;
for ($i in $psl)
{
int $aha = `getAttr ($i + ".divisions")`;
print $aha;
}
I am in trouble with polySmoothFace. I wrote a code. My code is below.
I execute the command and do nothing but if I click polySmoothFace# in channel box and open the attr. than
execute the script the code is working. I want to run this script without click the channel box.
How can I do that ?
Thanks.
string $psl[] = `ls -sl -type polySmoothFace`;
for ($i in $psl)
{
int $aha = `getAttr ($i + ".divisions")`;
print $aha;
}
