code snippet please

could someone please give me an example of getting an objects coordinates and storing it in a variable? thanks.

TorQ


import Blender

obj = Blender.Object.Get("Plane")

coord = obj.getLocation()

print coord

print coord[0]
print coord[1]
print coord[2]

Is that good enough?

Martin

spectacular! and quick to to boot. thanks much.

TorQ