Get locaton from modified vertice

Hi!
I’m doing a script in wich I need to get the location of every vertice in a mesh wich is modified by a modifier… I can’t get this working, since the locations don’t seem to be changed by for example the wave modifier. Where can I get the modified locations of vertices?

Thanks!

Which Blender version?
If I add to the cube (Blener 2.53) a “Bevel modifier” the mesh is not yet changed and there are only 8 vertices with their locations. After ‘Apply’ there are more vertices … withe their locations.

So you want to see the locations of NOT YET REALLY created new mesh, that which one can see?

Peddie, you might want to take a look at the create_mesh() function. Just be sure to unlink the datablock when you’re done with it.