PDA

View Full Version : weird problem with Attr


Danmoreno
07-03-2007, 01:08 PM
Hey guys i have a very weird problem. I created a script to correct some curves.so in order to do it in my object is use:

string $selection = `ls -sl`;

then i put it in a for-in loop;

then i list all unlocked keyable attr
$lista = `listAttr -u -k $s`;

then a for-in loop for attr.

thing is i get different results depending on the number of attributes unlocked. when it up to five attr it works when its more than that, it does not work at all!! why is that? i even tried locking and unlockng attr via script one by one but it wont work. what happens?! i got no clue to solve this.

I will attach the file here so someone can also try it.
use it on the mb file i will attach.
It should correct the overshoot.

1st: lock all the attributes but one and open the graph editor so you can se the changes.
execute the script.

2st: now do the same with all attr unlocked...it wont work at all...


Daniel Moreno
www.danmoreno.com

CGTalk Moderation
07-03-2007, 01:08 PM
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.