• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to format .csv data driven animations

Explorer ,
Sep 17, 2021 Sep 17, 2021

Copy link to clipboard

Copied

Hello,

I am trying to format a .csv file so I can have a live speed data as a value which I can link directly to a text layer.  It is for exporting telemetry from sim racing games and putting into an After Effects project.  I hacve linked the raw telemetry export data as well as a version of it what I have formatted to try and get the effect to work.  What I want is for the folder below called  KPH to be a pickable parameter for a text layer.  Not to have all the diffrent values seperate.

AfterFX_BZzPGI1x5s.png

I hope yo understand what I mean and that you will be able to help.  Below I have linked a screnshot of the Graphics which I am making,

Thanks

vlc_RmfT1BCm1A.png

TOPICS
Expressions , How to , Import and export , Preview , Resources , Scripting

Views

1.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Sep 17, 2021 Sep 17, 2021

dataValue([0,0])

accesses the first row/column of your spreadsheet

 

timeToFrames(time)

returns the current frame number.

Hence,

dataValue([0,timeToFrames(time)])

will use the first column for the first frame, the second colum for the second frame etc.

 

Votes

Translate

Translate
LEGEND ,
Sep 17, 2021 Sep 17, 2021

Copy link to clipboard

Copied

https://helpx.adobe.com/after-effects/using/data-driven-animations.html

 

You simply call up the column and row, where in your case the row would be addressed as timeToFrames(time) to fetch the entries for each individual frame.

 

Mylenium

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 17, 2021 Sep 17, 2021

Copy link to clipboard

Copied

Thanks fo the response,

Can you give me an example of how I would type that?

Would it be an expression?

Which layer would the expresion go on?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 17, 2021 Sep 17, 2021

Copy link to clipboard

Copied

Using what you have given I just get this 

Lom1138_0-1631887007748.png

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 17, 2021 Sep 17, 2021

Copy link to clipboard

Copied

Okay ignore my previous replies.

Lom1138_0-1631887564109.png

I have used what you said and what the help article said and managaed to do this. However how do I make the layer move down the column so I can have the live speed? At the moment it is just taking the value from the top cell and that is it,

Thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 17, 2021 Sep 17, 2021

Copy link to clipboard

Copied

LATEST

dataValue([0,0])

accesses the first row/column of your spreadsheet

 

timeToFrames(time)

returns the current frame number.

Hence,

dataValue([0,timeToFrames(time)])

will use the first column for the first frame, the second colum for the second frame etc.

 

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines