// Move object to origin string $selection[] = `ls -selection -long`; for ( $object in $selection ) { move -rpr 0 0 0 $object; } //Move pivot to origin string $selection[] = `ls -selection -long`; for ( $object in $selection ) { xform -ws -a -piv 0 0 0; }