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

    Access Add Keyframe Selection in Coffee

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 254 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 18/02/2009 at 15:31, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   11 
      Platform:   Windows  ;   
      Language(s) :   C.O.F.F.E.E  ;   XPRESSO  ;

      ---------
      I want to know how to turn off/ on whether an object's parameter is keyed when parameter keying is enabled.

      In the cinema interface, this is done by highlighting the parameter, right click > Animation > 'Add keyframe Selection'.

      This turns the parameter's text white and now when using the set key button with parameter keying enabled, this parameter is keyed.

      Let me use the example of a coffee tag on a null object, and lets say I want to turn on for keying it's 'Display' parameter.

      I know how to get at the null object's display value, easy:

      main(doc,op)
      {
      println(op#NULLOBJECT_DISPLAY);
      }

      But say I want to get at a property of that parameter (a sub id ?)
      The 'descriptions' section of the SDK leads me to believe this is the syntax :

      main(doc,op)
      {
      println(op#NULLOBJECT_DISPLAY:name_of_property);
      }

      But I don't know what the property I need is called.
      from searching around I thought it might be DESC_ANIMATE
      but :

      main(doc,op)
      {
      println(op#NULLOBJECT_DISPLAY:DESC_ANIMATE);
      }

      but I get 'Invalid Description ID for object'.

      Can anyone help ? And tell me which files to look in to find out the ID's or names of parameters sub-properties ?

      Thanks.

      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 25/02/2009 at 06:59, xxxxxxxx wrote:

        Unfortunatly this is not possible in COFFEE. The C++ API povides several functions to handle keyframe selection.

        KeyframeSelectionContent()
        ClearKeyframeSelection()
        FindKeyframeSelection(const DescID& id)
        SetKeyframeSelection(const DescID& id, Bool selection)

        cheers,
        Matthias

        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 26/02/2009 at 14:12, xxxxxxxx wrote:

          Thats a pity but thanks for your help anyway. I'll have to consider if I want to try another language.

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