How to inhibit CTRL+Drag&Drop functionality



  • 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



  • 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.



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

    Hi Andreas,
    Thank you for your response.


Log in to reply