Import Simple .CSV File

What type of scripts do you need?

Moderator: byronnash

Post Reply
kwolf
Posts: 2
Joined: August 1st, 2013, 6:39 am

Does anyone know expression that would be able to read a .csv file of data of a simple time vs speed graph sec/mph. Is there a way to do this with expressions or javascript? I am trying to use data from a GPS (milliseconds x mph) and overlay it in a graphic on a video. I am somewhat a beginner with after effects and was going to keyframe them all in, but i thought, the data is in the computer so why not try to use it? Maybe add an expression to the Text Effect: Numbers? :D
Paul Tuersley
Posts: 704
Joined: June 5th, 2004, 7:59 am
Location: London, UK

You can't do it with expressions but you could do it with a script. Another way would be to manipulate it into some keyframe clipboard data. For example, copy some keyframes from a property with the same number of dimensions as your data, then paste into a spreadsheet like Excel. Replace the numbers with your data then paste back into AE. I would think this would be simpler than writing a script that can read a text file, interpret the data and turn it into keyframes.

Paul
kwolf
Posts: 2
Joined: August 1st, 2013, 6:39 am

Thanks! :P
Post Reply