Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions markers expression link

  • markers expression link

    Posted by Andy Gregory on October 11, 2007 at 6:44 am

    Hiya

    I am using a null object (A) to control the orientation of a bunch of layers blow it. I also have a null object (B) controlling the orientation of a camera (sweeping around my scene). Within this null object (B) I have a number of keyframes on the orientation layer at which points there are also named markers. I wish to access the orientation values at these markers and apply them to null object (A) (the one controlling the bunch of layers). Pickwhipping is normal but the camera is moving and I want the null object (A) to be still.
    My attempt at the expression is below but I am obviously doing something wrong (this is on the (A) null object layer…

    thisComp.layer(“Cntrl Cam 002”).marker.Key(“markername001”).transform.orientation

    Thanks for the help

    Dan Ebberts replied 18 years, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    October 11, 2007 at 4:32 pm

    I’m not clear on exactly what you’re trying to do, but if you want to retrieve a value that corresponds to a particular marker, you would get the time of that maker like this:

    t = thisComp.layer(“Cntrl Cam 002”).marker.Key(“markername001”).time;

    Then you would access the value of the property at that time like this:

    thisComp.layer(“Cntrl Cam 002”).transform.orientation.valueAtTime(t);

    Something like that.

    Dan

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