# Blender Game, line by coordinated file does not appear in the execution

Good afternoon people. I'm new to Blender and I have a problem , which I think is a simple solution , but I can not solve.

I have an application for BlenderGame , I have an object that moves the read from a CSV coordinates. Until then all Ok . This object has the data coordinate Desirable, and coordinate it performs for a PID control.

I would like to create a line or cylinder with coordinated the object should perform . A reference line. I do this with Python code at runtime . When I click on "P" and the Blender Game run the application , the line created , does not appear in the world. But when I give "ESC " to end execution , the line is there. But still it does not appear when I run . It seems that it is not in the correct context.

The code that creates the line via Python is basically this : python script that reads text file containing coordinates and creates a path/curve for object to follow I thank anyone who can guide me. hug

Never ever use bpy in your BGE game.