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

    How to access the Motion clip Keys

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 334 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/01/2013 at 05:45, xxxxxxxx wrote:

      Hi,
      I am trying to access the motion clip keys to check various data, like the duration of the motion clip, value , number of keys etc.
      I tried to access the tracks using the below code.

      tracks = object.GetCTracks()
      for track in tracks:
      firstKey = track.GetCurve().GetKey();

      it works fine if it is a normal animation track.

      but if i add a Motion clip to the same track instead of normal animation the same object.GetCTracks() method returns an empty list.

      Please some one help me, how to access the motion clip data?

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

        On 17/01/2013 at 04:19, xxxxxxxx wrote:

        Too bad C4D doesn't have an option for this. 😞

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

          On 24/04/2013 at 07:51, xxxxxxxx wrote:

          Can somebody suggest some one or some link to get an answer for this.

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