Need Help on Mel scripting


#1


hey am not a professional programmer i want a script please Help me with this the image shows what is does currently. but it works on a single object i want to execute that with multiple objects plz help


string $nos[] = ls -sl;

float $popd[] = pointPosition -w $nos;

SelectToggleMode;

SelectToggleMode;

string $obh[] = ls -sl -fl;

move -rpr $popd[0] $popd[1] $popd[2] ($obh[0]+".scalePivot") ($obh[0]+".rotatePivot");