Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions toCompVec([0, 0, 1])[2] problem, maybe CC2018??

  • toCompVec([0, 0, 1])[2] problem, maybe CC2018??

    Posted by Arne Münch on November 3, 2017 at 11:01 am

    Hi
    I am trying Dan Ebberts simple
    toCompVec([0, 0, 1])[2]
    Expression, but I always get the error message: Layer To Comp-Matrix cannot be converted in ToCompVec.
    What could be the problem, maybe a CC2018 bug??

    Thanks for any help..

    Arne Münch replied 8 years, 6 months ago 1 Member · 2 Replies
  • 2 Replies
  • Arne Münch

    November 3, 2017 at 11:10 am

    I found that one in another thread, but it doesn´t help. No scale animation involved in my case.
    if ((Math.abs(scale[0]) > 0.01)&&( toCompVec([0, 0, 1])[2] > 0 )) value else 0

  • Arne Münch

    November 3, 2017 at 11:29 am

    OK, no help needed anymore, i got it.
    there was a parent which scaled to zero in the end of the comp. So if this is the case write something like “parent.scale” instead or just scale not to zero but 0.001 and then blend the layer out.

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