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

    Double clicking behaviour in a Field List.

    Cinema 4D SDK
    c++ r20 r21 r23 s22 s24
    2
    3
    382
    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.
    • kbarK
      kbar
      last edited by kbar

      When you double click in a FieldList the behaviour is to add the new field object as a child of the currently selected object.

      Is there a way to change this so that double clicking will add the field to the root of the Object Manager? I do not want these fields to be children of the object. The reason is because the field is used to change the object, which means the field moves and scales with its parent, which is not desirable.

      https://www.gamelogicdesign.com
      https://www.plugins4d.com

      ManuelM 1 Reply Last reply Reply Quote 1
      • ManuelM
        Manuel @kbar
        last edited by

        hi,

        I'm not sure if you are talking about your own plugins or if you want to change the behavior of all fields list.
        I've answer in this thread and the way to do that is to use GetDparameter/SetDparameter to check if the added field is a child or not of your plugin.

        Cheers,
        Manuel

        MAXON SDK Specialist

        MAXON Registered Developer

        1 Reply Last reply Reply Quote 1
        • kbarK
          kbar
          last edited by

          This is for my own plugin. I was looking for a flag that I could set. Totally forgot about just checking for the parameter being set. Great solution. Thanks.

          https://www.gamelogicdesign.com
          https://www.plugins4d.com

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