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 inhibit CTRL+Drag&Drop functionality

    SDK Help
    0
    3
    309
    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 02/06/2016 at 01:36, xxxxxxxx wrote:

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

      ---------
      Hi,
      In Object Manager tree, I need to inhibit multiply functionality, using CTRL+Drag&Drop.;
      If I drag an object (Cube) below the tree, I obtain a new object (Cube.1)

      I found to set "NBIT_NO_DD" bit before to add the object in tree.
      "pMyObject->ChangeNBit( NBIT_NO_DD, NBITCONTROL_SET );"

      It works (I can't multiply it) but D&D; functionality doesn't work any more. In SDK "NBIT_NO_DD" means "No drag and drop duplication."

      Do you know other solution?

      Is there any flag to stop CTRL+Drag&Drop; functionality?
      Or a C4D message...

      Any info is useful for me.
      Thank you,
      Daniel

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

        On 03/06/2016 at 04:36, xxxxxxxx wrote:

        Hi,

        apparently the SDK Docs are wrong on NBIT_NO_DD. We'll fix this.
        Unfortunately I don't see any way to only disable the Ctrl-Drag&Drop.

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

          On 03/06/2016 at 05:29, xxxxxxxx wrote:

          Hi Andreas,
          Thank you for your response.

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