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

    Drag&Drop TimeTrack

    SDK Help
    0
    2
    261
    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
      Helper
      last edited by

      On 14/06/2016 at 07:51, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R13.061 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
         Hello,
      In my pluggins, on Animation layout, in TimeLine window, is possible to Drag&Drop; the TimeTracks and I want to inhibit this, like in Cinema.

      In MyCTrack::Init(GeListNode *node) (derivated from CTrackData) I want to do it like here, but without success:

      CTrack* track = (CTrack* ) node;     
      track->ChangeNBit(NBIT_NO_DD, NBITCONTROL_SET);

      or
      GeListNode* pNode = Get();
      if (pNode)
           pNode->ChangeNBit(NBIT_NO_DD,NBITCONTROL_SET);

      Can be this (using ChangeNBit()) a possibility or do you have any hint how to do this?

      Thank you,
      Daniel

      http://s31.postimg.org/ckeqoq93v/Time_Track.png

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

        On 15/06/2016 at 01:52, xxxxxxxx wrote:

        Hello,

        the "Time" track is not a plugin. In fact, a track is only then not dragged & dropped when it is not a plugin track (based on CTrackData). If a track can be dragged and dropped does not depend on a bit or something similar. So it seems that is is not possible to disable drag & drop for custom tracks.

        Best wishes,
        Sebastian

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