string $tempSelection[] = `ls -sl`;
int $vertNumber[] = `polyEvaluate -v $tempSelection[0]`;
for($n = 0; $n < $vertNumber[0]; $n++)
{
select $tempSelection.vtx[$n];
//replace the -0.01 value below to increase or decrease the effect.
//set it to a positive value to inflate rather than deflate.
moveVertexAlongDirection -n -0.01 ;
}
select $tempSelection;
OK.. but I should mention it has a small problem, it's kind of slow, because it iterates over each vertex, so it repeats the command as many times as there are vertices... it's fast on a small mesh, but on a large poly mesh it can take a lot of time. A polyextrude is much much faster.