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
    • Recent
    • Tags
    • Users
    • Login

    add a key

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 177 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

      On 09/09/2013 at 09:52, xxxxxxxx wrote:

      hi

      can one help me to add a Keyframe

      is there a way without tracks ?

      Many Thanks 
      Conner

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

        On 09/09/2013 at 10:04, xxxxxxxx wrote:

        no, tracks are the basic class for c4d animation. i do not really understand the benefit of
        a scenario without tracks.

        tracklist= myBaseList2D.GetCTracks()
        for track in tracklist:
        	if track.CheckType(SOMEID) :
        		curve = track.GetCurve()
        		ckey = curve.AddKey(c4d.BaseTime(someTime))[0]
        		ckey.SetValue(curve, someValue)
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post