Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    How to get keyframe

    SDK Help
    0
    7
    484
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 02/03/2005 at 23:06, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.1 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hi all,

      i tried to find in Sdk and in this forum the answer to my question: how to get keyframe value from a sequence.

      I need to read translation and rotation keyframe value of an object at specified time.

      Thanks
      Renato T.

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 02/03/2005 at 23:15, xxxxxxxx wrote:

        Hi,

        try to use FindKey() method which comes under BaseSequence class...

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 02/03/2005 at 23:51, xxxxxxxx wrote:

          Hello Charles,

          ok, with FindKey or GetFirstKey i have a basekey but how i can read translation and rotation value?

          Thanks
          Renato T.

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 03/03/2005 at 00:28, xxxxxxxx wrote:

            Hi,

            Once you get BaseKey, use GetTrack() which will return BaseTrack pointer value. Once you get BaseTrack details,
            I believe using GetDescriptionID() you should be able to find out what kind of track is it. Try this.

            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 03/03/2005 at 11:06, xxxxxxxx wrote:

              Argh..

              manage keyframes seem to be very hard in Cinema4D.
              I was hoping in a easy method to handle keyframes.

              Still i don't understand how i possible to get keyframes value.

              Thanks anyway
              Renato T.
              www.tarabella.it/c4d

              1 Reply Last reply Reply Quote 0
              • H
                Helper
                last edited by

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 03/03/2005 at 12:40, xxxxxxxx wrote:

                Charles explained it exactly.

                The value being modified in the TimeLine for an object (etc.) is specified by its Track (Position.X track, Rotation.B track, and so on). Tracks represent an animatable parameter, keyframes are the values of that parameter at a given time. Sequences are disjoint sets of keyframes on the Track. Simple.

                So, in order to get the Position of ObjectX at time T, you need to get ObjectX, get its Position Track, get the Sequence that covers T, and then find a Key at (or near) T and read the Key's value.

                1 Reply Last reply Reply Quote 0
                • H
                  Helper
                  last edited by

                  THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                  On 05/03/2005 at 11:12, xxxxxxxx wrote:

                  Sorry for delay Kuroyume,

                  thanks for info, i hope to understand how it work.

                  Cheers
                  Renato T.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post