modules for command setlocation

is there a specific module to be loaded
or may be this apply only to Nmesh which is deprecated?

Blender.setLocation(0, -10, 7)

now is there an equivalent for Mesh object ?


setLocation is used for objects, not meshes. A mesh, font, lamp,camera, these all get linked to objects. If you want to change the position of a mesh simply link it to an object then use setLlocation, otherwise you will have to change the vertex information for every point in the mesh to move it. Does that make sense?