Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Number animation from CVS

  • Number animation from CVS

    Posted by Roy Metni on June 23, 2023 at 2:25 pm

    I have this expression and it’s working normally . the thing is, It’s only reading from Column 1 in the CSV. I want it to read from column 2 . What should I modify in this expression ?

    _column = 0;
    _row = time*30;
    _sliderValue = footage(“Stats.csv”).dataValue([_column,_row])

    Graham Quince replied 3 years, 2 months ago 2 Members · 1 Reply
  • 1 Reply
  • Graham Quince

    June 24, 2023 at 12:57 pm

    I’m guessing its not your expression, so I’m going to feel free to critise it for poor style choice for variables names 😜

    But the top line _column looks like its the variable you want to change.

    Personally, I think the safest option here is to add a slider (hit ENTER and rename it to “Column Slider” to your layer and then use this version of the expression:

    var column = praeInt(effect("Column Slider")("Slider"));

    var row = time*30;

    var sliderValue = footage(“Stats.csv”).dataValue([column,row])

    Then you can set the column to 0, 1, 2 etc…

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