Skip to content

Instantly share code, notes, and snippets.

@MarissaJ
Last active August 24, 2022 02:11
Show Gist options
  • Save MarissaJ/d928f4e78066d799e78cf54e3422f73a to your computer and use it in GitHub Desktop.
Save MarissaJ/d928f4e78066d799e78cf54e3422f73a to your computer and use it in GitHub Desktop.
After Effects Data Driven Expressions- Display Data Based on Row Number
n=Math.round(thisComp.layer("Data-Sample.csv")("Data")("Number of Rows"));
values = [];for(i=n-1;i<=n-1;i++)
{     values.push(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Text Data")("Text Data " + i).value); }
values;
@MarissaJ
Copy link
Author

For more on how to use this expression and download a sample After Effects 2019 file here https://www.fluxvfx.com/data-driven-expressions-for-after-effects-2019/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment