Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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

    CKey Auto Tangents problem

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 267 Views
    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 Offline
      Helper
      last edited by

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

      On 04/08/2012 at 09:21, xxxxxxxx wrote:

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

      ---------
      Hi,

      does anybody know, how to retrieve the proper values for the key tangents if the Auto Tangents option is activated (default)? The methods GetTimeLeft / GetTimeRight provide zero although the timeline shows the tangents with a length. The attribute manager also shows 0 in the disabled edit fields unless you disable Auto Tangents. Then the proper values are displayed.

      I'm surprized, that the methods don't provide the right values, because I assumed, that these values are the ones internally used.

      Any ideas?

      Thanks,
      Klaus

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

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

        On 06/08/2012 at 01:59, xxxxxxxx wrote:

        Hi Klaus,

        To get the proper values for the key, you can disable Auto Tangents in your code by calling:

        key->ChangeNBit(NBIT_CKEY_AUTO,NBIT_DEL);
        
        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

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

          On 07/08/2012 at 02:58, xxxxxxxx wrote:

          Hi Yannek,

          thanks, but that doesn't work. NBIT_DEL is not defined, so I used NBITCONTROL_CLEAR. But key->GetRightTime() still provides zero for the first key.

          Maybe there is a misunderstanding: I don't want to change the user's editings! But your answer leads me to GetNBit and that's ok to get the state. Then, the time values can be calculated.

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