Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Import a piece of data from Excel for each comp? (and other data questions)

  • Import a piece of data from Excel for each comp? (and other data questions)

    Posted by Greg C neumayer on November 10, 2015 at 5:22 pm

    Hi there. I’m a bit in new territory here, so I’ve got a couple questions about using Excel data.

    I need to place about 50,000 points of data into a world map. (location markers) I’ve started playing with the script, “Locations” to see if that will be a solution, but I’m worried that 50k points is going to be out of the realm of what AE can handle. How should I approach such large data sets?

    In addition, I have a date field that needs to offset the lifespan of the marker comp. I was thinking I’d try to clean up the date column in Excel (e.g. 13-Feb-12) to something numeric like we did in Flash, where the Date.time object could express the date in milliseconds since January 1, 1970 (e.g. 1447175866). Then, I’d use an expression to offset the start time of the comp. Any thoughts on the feasibility of this? I’m not sure I can get a date in that format, but hoping some fancy text editor like Sublime or an Excel formula can reformat it for me.

    Then, I also need to adjust the AE location marker’s scale by a unique data field from the same Excel set. (range: 0-100,000). I can probably rig up a script to attenuate it to 1-100%, but I’m not sure how or where to bring that data in. Is there a way to make every comp have a variable (maybe an Expression-Slider control?) that receives it’s unique data point?

    Thanks for your input! I’m looking forward to this job, but need to make sure it’s all feasible!
    -Greg

    Kalleheikki Kannisto replied 10 years, 6 months ago 2 Members · 3 Replies
  • 3 Replies
  • Greg C neumayer

    November 10, 2015 at 7:34 pm

    Just to update my post…
    50,000 data points turned into comps kills AE (which wasn’t surprising). I don’t think a comp can really manage more than a couple hundred items, so I’ll need to find another solution there. AE may not be the best tool for this job…

  • Kalleheikki Kannisto

    November 11, 2015 at 7:44 am

    Sounds like you will need a particle system. Do you want to display the same item at each location at specific times and scale?

    Not that I have done anything with this amount of layers, but one possible route to investigate is Plexus with nulls. I haven’t used Plexus, but from what I’ve read, it should be able to place particles based on nulls. I would assume that 50000 nulls takes much less toll on the system than 50000 comps. A null could be born at a specific time and location and have a scale. Then if you can have particles on a single Plexus layer be based on the nulls, that might work.

    …of course there is still the scripting question of how to get the nulls created automatically.

    Anyways, might be worth a try creating a comp with 50000 nulls and see if AE still responds fine.

  • Kalleheikki Kannisto

    November 12, 2015 at 7:14 am

    You probably already tried Flash then?

    Another Particular-based option occurred to me: How many points maximum are born at the same time (in the same frame — the same “day” or whatever your minimum time frame is)? If it is a manageable number, you could have that many Particular Emitters being controlled by expressions reading your table data for position and size, emitting one particle for each frame (up to as many particles as are born for that frame) and moving to a new point at each frame.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy