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

    button in tag dialog

    SDK Help
    0
    4
    338
    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 06/11/2013 at 12:11, xxxxxxxx wrote:

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

      ---------
      In a tag plugin how can my code find out that there was a button clicked in the dialog? Is this done inside 'MyTag::Execute' or some other way?

      When the button is clicked my code goes to "MyTag::Execute" but how can I know what caused it? AT the moment I am only checking the status of a handful of radio buttons.

      Thanks

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

        On 06/11/2013 at 12:50, xxxxxxxx wrote:

        Hi Peter,

        check the MSG_DESCRIPTION_COMMAND documentation.

        Cheers,
        -Niklas

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

          On 06/11/2013 at 15:44, xxxxxxxx wrote:

          Hi Niklas

          Ok. After a bit of digging I found it. But in this function call:
          EXECUTIONRESULT MyTag::Execute(BaseTag* tag, BaseDocument* doc, BaseObject* op, BaseThread* bt, Int32 priority, EXECUTIONFLAGS flags)
          where is there a message?
          Peter

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

            On 06/11/2013 at 19:36, xxxxxxxx wrote:

            Not in Execute() but in Message() for the tag.

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