Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Access number of columns (or data groups) in a csv?

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

    Posted by Andrew Marston on July 1, 2020 at 8:21 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.

    Andrew Marston replied 5 years, 10 months ago 1 Member · 1 Reply
  • 1 Reply
  • Andrew Marston

    July 1, 2020 at 10:08 pm

    Nevermind, I finally found it using numProperties:

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

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