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

    CKey.SetValue() for BaseTime object as value

    Scheduled Pinned Locked Moved General Talk
    python
    2 Posts 1 Posters 478 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.
    • I Offline
      InterfaceGuy
      last edited by Manuel

      Hey guys,

      I want to set the value of a keyframe for the "Start" parameter of the sketch material under the "Animate" tab with "Draw Speed" set to "Pixels". (Sketch[c4d.OUTLINEMAT_ANIMATE_START])

      Unfortunately unlike any other parameter I have seen so far, this one takes a BaseTime object as input.
      Because of this I cannot proceed as usual with the CKey.SetValue() method.

      How would I go about this?

      1 Reply Last reply Reply Quote 0
      • I Offline
        InterfaceGuy
        last edited by

        I actually found the solution while posting the question but wanted to still post it in order to help others who might have the same problem. (If this is against community guidelines I apologise)

        The solution is to use the CKey.SetGeData() method. Done!

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