3 Replies Latest reply on Sep 23, 2015 5:31 PM by pdlavalle

    How do I export keyframe data on shape paths?

    pdlavalle Level 1

      I have keyframes on a shape path, and I want to export the keyframe data. I want to use the coordinates/positions of each point.

      Screen Shot 2015-09-10 at 10.33.53 AM.png

      When I copy this Path property and paste it into a text file, I get this:

       

      Adobe After Effects 8.0 Keyframe Data

       

        Units Per Second 29.97

        Source Width 1

        Source Height 1

        Source Pixel Aspect Ratio 1

        Comp Pixel Aspect Ratio 1

       

      End of Keyframe Data

       

      When I copy a single keyframe and paste it into a text file, I get the OS X default error sound.

       

      Is it possible to export this keyframe data?

       

      I also tried running rd: Gimme Prop Info to get at the values of the keyframes, but it’s returning `[object Shape]` and not the actual position/coordinate data. Is there a way to inspect the key-values of `[object Shape]`?

       

      Screen Shot 2015-09-10 at 10.36.39 AM.png

        • 1. Re: How do I export keyframe data on shape paths?
          Mylenium Most Valuable Participant

          The long and short of it is: No. You would have top create a custom script to get any useful data.

           

          Mylenium

          • 2. Re: How do I export keyframe data on shape paths?
            Rick Gerard Adobe Community Professional & MVP

            The only inside AE solution to turn a vector path into coordinate data is to copy the path keyframe and then do something like add a null, set a position keyframe for the null and then paste. If you did this for each of the keyframes on your path you could get coordinate data for each of the keyframes. If you selected all keyframes you would get a mess.

             

            For example here's the info for a single keyframe copied to a path. What you get is a time and coordinate for each vertex. What you don't get is any information about the curve.

             

            Adobe After Effects 8.0 Keyframe Data

             

             

              Units Per Second 29.97

              Source Width 100

              Source Height 100

              Source Pixel Aspect Ratio 1

              Comp Pixel Aspect Ratio 1

             

             

            Transform Position

              Frame X pixels Y pixels Z pixels

              0 861.266 366.835 0

              9.61375 448.861 555.949 0

              18.2725 813.418 781.519 0

              24.1125 1095.95 710.886 0

              32.3238 1376.2 1009.37 0

              43.3675 1604.05 508.101 0

              54.5825 1045.88 517.137 0

              54.5838 1045.82 517.215 0

              59.94 861.266 366.835 0

             

             

             

             

            End of Keyframe Data

             

            This is an example of 4 mask keyframes converted to a motion path. You end up with a bunch of data that has no relationship to the position of the vertices and a null that doesn't follow the vector path as it animates.

            Adobe After Effects 8.0 Keyframe Data

             

             

              Units Per Second 29.97

              Source Width 100

              Source Height 100

              Source Pixel Aspect Ratio 1

              Comp Pixel Aspect Ratio 1

             

             

            Transform Position

              Frame X pixels Y pixels Z pixels

              0 861.266 366.835 0

              13.03 448.861 555.949 0

              24.7662 813.418 781.519 0

              32.6825 1095.95 710.886 0

              43.8125 1376.2 1009.37 0

              58.7813 1604.05 508.101 0

              73.9813 1045.88 517.137 0

              73.9838 1045.82 517.215 0

              81.2425 861.266 366.835 0

              88.7575 808.861 487.595 0

              100.856 416.962 312.152 0

              117.62 562.785 911.392 0

              133.105 1095.95 710.886 0

              144.235 1376.2 1009.37 0

              159.204 1604.05 508.101 0

              177.205 1046.89 516.534 0

              183.689 1045.82 517.215 0

              190.228 808.861 487.595 0

              196.898 808.861 487.595 0

              208.995 416.962 312.152 0

              225.76 562.785 911.392 0

              240.316 1095.95 861.266 0

              257.158 1713.42 911.393 0

              277.516 1574.43 175.443 0

              297.478 1046.89 516.534 0

              303.961 1045.82 517.215 0

              310.5 808.861 487.595 0

              322.615 733.671 143.544 0

              333.274 416.962 312.152 0

              350.039 562.785 911.392 0

              364.595 1095.95 861.266 0

              381.435 1713.42 911.393 0

              401.795 1574.43 175.443 0

              421.756 1046.89 516.534 0

              428.73 1080 280.253 0

              439 733.671 143.544 0

             

             

             

             

            End of Keyframe Data

            1 person found this helpful
            • 3. Re: How do I export keyframe data on shape paths?
              pdlavalle Level 1

              Thank you Mylenium and Rick!


              Rick, I did paste the path keyframes onto the position of a null object, and it was insightful!; very cool to see the shape there. I think that is my best bet for quickly getting coordinate data. Bummer that the null can’t follow a single vertex on the path as it animates. My AE skills are a little rusty, but since I’m animating triangles, I am starting to think there must be a cleaner way of getting position data of a vertex from a triangle. I wonder if it’s possible to pickwhip a vertex to position data... googles frantically