FORUMS: list search recent posts

Access number of columns (or data groups) in a csv?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Andrew Marston
Access number of columns (or data groups) in a csv?
on Jul 1, 2020 at 8:21:47 pm

Anyone know how to access the total number of columns (or groups of data) in a csv? Ae provides easy access to the number of rows in the data of a csv using the following:
thisComp.layer("CSV Filename.csv")("Data")("Number of Rows");

However, I can't figure out how to pull the number of columns. It's for a template I'm creating for myself to make line charts easily, and column number changes from csv to csv.

In this example, the desired output of the expression would be 11.


Return to posts index

Andrew Marston
Re: Access number of columns (or data groups) in a csv?
on Jul 1, 2020 at 10:08:22 pm

Nevermind, I finally found it using numProperties:

thisComp.layer("CSV Filename.csv")("Data")("Outline").numProperties;


Return to posts index

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