connecting attributes
hi,
I dont get the right syntax for this little script for linking custom attributes. I have a locator with added attributes - schalA...schalH. I need to connect the schalA to 35 object´s zRotation. please view my script and lend a helping hand
for ($i = 0; $i <= 35; ++$i)
{
$object_a = "schalA_" + $i;
eval select -r $object_a;
$object_b = "locator1" ;
eval select -add $object_b;
//commando
connectAttr -f "object_b" + ".rotateZ" object_a.rotateZ;
}
the schal_objects are deep down a hierarchy. hope that´s not the problem.
thx in advance
everything starts and ends in the right place at the right time.
Last edited by Falott; 27-11-2006 at 02:25 PM.