AWAKE
11-24-2002, 07:58 AM
Anyone know of a way to wildcard objects and attrs to change values?
I have a list of objects each with different names (sequential) and I'm trying to change values of the attributes in each to the same value, but I'm getting an object not found error in my really pathetic mel "pasting"
I select obects --> select -r "*Constraint1";
Then I want to change the attrs, but the wildcard doesn't work right..
setAttr "*Constraint1.*_SPLW2" 0;
I'm using the wildcard because the attributes have similar names. They vary slightly.
Maybe there's another way to type it in there. Or a script that does it. The Trick is the attributes have similar names. Not exact.
I have a list of objects each with different names (sequential) and I'm trying to change values of the attributes in each to the same value, but I'm getting an object not found error in my really pathetic mel "pasting"
I select obects --> select -r "*Constraint1";
Then I want to change the attrs, but the wildcard doesn't work right..
setAttr "*Constraint1.*_SPLW2" 0;
I'm using the wildcard because the attributes have similar names. They vary slightly.
Maybe there's another way to type it in there. Or a script that does it. The Trick is the attributes have similar names. Not exact.
