ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

CSV "Number of Rows" - adjust automatically in AFX

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Sarah Bartels
CSV "Number of Rows" - adjust automatically in AFX
on Apr 23, 2020 at 8:07:49 am

Hello,
I have a csv file which the user can fill with two columns and a variable number of rows.
In my After effects project I want the "Number of Rows" automatically adjust based on the number of values. Is it possible to count the number of values with expression? These are updated with the exchange of the csv file, the "Number of Rows" unfortunately not.

Thanks a lot,
Sarah


Return to posts index

Dan Ebberts
Re: CSV "Number of Rows" - adjust automatically in AFX
on Apr 23, 2020 at 6:42:40 pm

If you drag the file into your comp's timeline, you can get at it like this:

thisComp.layer("Values.csv")("Data")("Number of Rows")


Dan



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]