position = obj.matrix_world*mathutils.Vector((0, 0, 0))
resource.statements.append(Statement("position", position[0], position[1], position[2]))
position = obj.matrix_world*mathutils.Vector((0, 0, 0))
resource.statements.append(Statement("position", position[0], position[1], position[2]))