View Single Post
# 3 08-12-2004 , 01:32 AM
Registered User
Join Date: Aug 2004
Posts: 24
Heres another alternative for you, it changes all the polySmoothFace values in the maya scene to the value stored in $SmoothLevel.



int $SmoothLevel = 1;
string $polySmooth[] = `ls -type polySmoothFace`;
string $EachSmooth;
for ($EachSmooth in $polySmooth)
{
setAttr ($EachSmooth + ".divisions") $SmoothLevel;
}


----------------------------------------------
Richard Cheek
https://www.freelance-animation.com
----------------------------------------------