weird problem with Attr

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 07 July 2007   #1
weird problem with Attr

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
Attached Files
File Type: zip new_correct.zip (2.2 KB, 3 views)
File Type: zip teste_exp.zip (10.6 KB, 0 views)
__________________
-Daniel Moreno
http://www.danmoreno.com
 
Old 07 July 2007   #2
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 12:06 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.