PDA

View Full Version : Controling active keys


kamsvag
08-16-2002, 12:15 PM
Is there any script for controling the 'node state' of all the keys on selected objects. That would be a neat script. To be abel to turn off or on (blocking/normal) the keys on the keys of selected objects. Sometimes it's nice to be abel to turn off animations on joints to locate from where an uneven move has it's origin. The way I do it now is to parent a locator to the joints I wanna examine to see if the locator get some weird uneven movements, but it's a slow and unefficient way to search for the problem.

svenip
08-16-2002, 12:23 PM
don't have maya in front of me but should be easy to write for you.

just look into the script editor for the command that pops up then you set the node state of one node to blocked. then just grab a script from cgtalk or highend and look for the three lines which will go through all selected nodes and do the command.

string $selection[] = `ls -s'; (i think it was -s)
string sel;

for($sel in selection)
{
...... set node state
}

CGTalk Moderation
01-13-2006, 02:00 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.