Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Disable drag and drop

    SDK Help
    0
    3
    227
    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

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 29/05/2007 at 01:48, xxxxxxxx wrote:

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

      ---------
      Hi @ll
      i wonder if it is possible to disable the drag and drop function in the structure tree. I have to prevent that anybody who uses my plugin is able to move objects through the tree, cause the plugin may crash then.
      e.g.: A part of my plugin forces a strict hierarchy in the structure tree. So you have to insert a nullobject before you insert primitives like cubes or cylinders. But the users is still able to move these primitives in the superior layer.
       
      Can someone help me?

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 12/06/2007 at 23:20, xxxxxxxx wrote:

        Noone any Ideas?

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 13/06/2007 at 05:34, xxxxxxxx wrote:

          Hi,

          your plugin must not crash. You can check, if objects are in the right hierarchial position; if not, put a message or do nothing. For user convenience you may also create the null object for the user. Provide some buttons, that makes the complete object setup that your plugin needs.

          As an alternative, you may work with link boxes instead of relying to a specific object structure.

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