Jul 03, 2011 18:20
//Align one pivot to another object
$obj_selected = `ls -sl`;
$obj_sel_counter = size ($obj_selected);
$a = getAttr ($obj_selected[0]+".scalePivot");
move $a[0] $a[1] $a[2] ($obj_selected[1] + ".scalePivot") ($obj_selected[1] + ".rotatePivot");
maya,
mel