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

    Message Data doesn't receive message

    SDK Help
    0
    5
    395
    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 24/08/2016 at 04:43, xxxxxxxx wrote:

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

      ---------
      Hello.

      I have a MessageData plugin and in its CoreMessage method i check for EVMSG_DOCUMENTRECALCULATED. Then I move the main camera in the viewport, but the event never reaches there. Message data receives EVMSG_DOCUMENTRECALCULATED events but not the camera one. Nevertheless, if the CoreMessage is implemented in a GeDialog, it receives the camera events correctly.

      What's wrong with the message data ? I register the plugin using RegisterMessagePlugin.

      Also, does the CoreMessage return value do anything ? The API says it doesn't.

      Thank you for your time.

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

        On 24/08/2016 at 05:03, xxxxxxxx wrote:

        Hello.

        Correction: MessageData doesn't receive EVMSG_ASYNCEDITORMOVE. 
        That's the event I want to catch.

        thnx.

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

          On 25/08/2016 at 02:28, xxxxxxxx wrote:

          Hi,

          EVMSG_ASYNCEDITORMOVE is only send to dialogs. Sorry.
          We are aware that our documentation is sub-optimal on this topic. It is on our list, but we will need time to thoroughly improve the docs on this matter.

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

            On 25/08/2016 at 03:04, xxxxxxxx wrote:

            Hello.

            No problem for the docs.
            So, if I want to catch EVMSG_ASYNCEDITORMOVE and redirect them to a MessageData, I have to do it using only a dialog right ?

            Thank you.

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

              On 29/08/2016 at 08:48, xxxxxxxx wrote:

              Basically this should work, yes.

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