I'm new to AnyLogic. I'm trying to export the pedestrian trajectory from my model. I used an event updated every simulation time unit with code: traceln("When time is "+ (int) time()+ " ," + getId()+"is at ("+getX()+","+getY()+")"), and get several agents' id and location information with specific time. Anylogic console image But when I use textFile.println() with same command to export them, the information I get in outside text file is only one agent. text file image Is there anyway I can export all of them?