proc AddLocator(){
string $nodes[] = `ls -selection`;
float $tX;
float $tY;
float $tZ;
for ( $node in $nodes ){
$tX = `getAttr $node.translateX`;
$tY = `getAttr $node.translateY`;
$tZ = `getAttr $node.translateZ`;
}
}
當我SELECTED ojbect 多過一件時,
點解getAttr $node.translateX return float[] but not float?
i print $node out is one object from selected object, but the getAttr $node.translateX return all the translateX of selected objects in a float array. WHY?