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

    RMB on inexclude flag? [SOLVED]

    SDK Help
    0
    3
    279
    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/11/2015 at 05:28, xxxxxxxx wrote:

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

      ---------
      Hi there,

      is there a way to detect or respond to a RMB click on an InExclude element flag? Or any click at all?
      Browsing the docs I cannot find any corresponding message.

      Thanks!

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

        On 03/11/2015 at 03:24, xxxxxxxx wrote:

        Hello,

        are you talking about an In/Exclude in a description or a GeDialog? In a GeDialog, clicking on the flags in the InExclude GUI will call the parent dialog's Command() function.

        The state of the flags is part of the data stored by the InExclude data. So when one changes the flags, the parameter is changed. In a NodeData based plugin MSG_DESCRIPTION_POSTSETPARAMETER is sent after one changed the flags.

        Both the left and the right mouse button will switch the state of the flag so there is no distinction between these two.

        Best wishes,
        Sebastian

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

          On 03/11/2015 at 03:53, xxxxxxxx wrote:

          Sorry, yes, I am in a description.

          And thanks, that should be enough for me to work with I guess. Gotta check the according states myself then for distinction.

          However, it would be nice to have an element specific message in case of a click on such a flag. Sorry that should have gone into feature requests probably.

          Cheers

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