View Full Version : getAttr. problem "trouble with polySmoothFace"
12 December 2003, 08:50 PM
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 ?
string $psl = `ls -sl -type polySmoothFace`;
for ($i in $psl)
int $aha = `getAttr ($i + ".divisions")`;
01 January 2004, 01:00 AM
string $sn = ls -sl -dag -type mesh;
string $psl = listConnections -type polySmoothFace $sn;
01 January 2004, 11:34 AM
Thank you, this is working. :bounce:
01 January 2006, 02:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.