import bpy Sce = bpy.data.scenes.active Objs = Sce.objects.context for Obj in Objs: print Obj.name for Curve in Obj.ipo: for Triplet in Curve.bezierPoints: for Point in Triplet.vec: XPos = Point[0] print XPos print "-"*25