for obj in selection do --loop through all objects selected
(
if canConvertTo obj Mesh then --has Editable Mesh modifier
(
convertToMesh obj --collapse to EditableMesh
for v = 1 to getNumVerts obj do --loop through all vertices
(
vert = getVert obj v --get the v-th vertex
vert.z = vert.z+20;
setVert obj v vert --assign back to the v-thvertex
)
update obj --update the mesh
)
)
the code is from the MAXScript reference with minor modifications, but tried googling already and didnt found other way to do this neither how could I save modifiers and restore after this operation