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
    1. Maxon Developers Forum
    2. jmckeehen
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    jmckeehen

    @jmckeehen

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    jmckeehen Unfollow Follow

    Latest posts made by jmckeehen

    • RE: Keyframing morph pose animations in Python

      I've also encountered this issue...I am able to use SetParameter using GetMorphID, but keyframes do not get created on the morphs. Not sure what the issue is.

      I've also tried using tag.GetCTracks, and iterating through the resulting list. This seems to let me set the keyframes, but just sets the strength of all keyframes to 0, not the actual value I am passing.

              morph_tracks = morph_tag.GetCTracks()
              for track in morph_tracks:
                  morph_tag.ExitEdit(doc, True)
                  create_key(track.GetCurve(), get_current_time(), 0.5, c4d.CINTERPOLATION_STEP)
                  morph_tag.UpdateMorphs()
      

      I would expect the above to set all morphs to a strength value of 50%, but they all are just 0%.

      This is using the same CreateKey function from here: https://github.com/PluginCafe/cinema4d_py_sdk_extended/blob/master/scripts/04_3d_concepts/scene_elements/animation/ctrack_create_keys_r13.py

      Would anyone happen to have context on how to set these keyframes???

      posted in Cinema 4D SDK
      J
      jmckeehen