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

    Global event messages

    SDK Help
    0
    7
    648
    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 01/12/2015 at 13:05, xxxxxxxx wrote:

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

      ---------
      Hello.

      There are some messages that are received from CoreMessage but are not mentioned in ge_prepass.h
      1970300003
      1018484
      1431323715

      When are these messages triggered ? I have searched the whole framework and couldn't find any reference for them.

      Thank you for your time.

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

        On 02/12/2015 at 07:11, xxxxxxxx wrote:

        Howdy,

        Those messages could either be private or possibly a plugin, so there may be no way for you to know.

        Adios,
        Cactus Dan

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

          On 02/12/2015 at 07:25, xxxxxxxx wrote:

          One way to know would be to remove all 'third-part' plugins and see if the messages persist.  If they do, then they are almost assuredly private messages.

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

            On 02/12/2015 at 12:55, xxxxxxxx wrote:

            Hi guys,

            another way to know would be to ask SDK Support... oh wait, you already did 😉

            1018484 internally is MSG_PSLIDER_UPDATE, which is for internal use and is basically sent together with EVMSG_CHANGE (and a few other messages).

            1970300003 (0x75706463, 'updc') : BFM_CORE_UPDATECOMMANDS (updates all command buttons), it's being send, when icons need to be updated.

            1431323715 (0x55504443, 'UPDC') : internal message BFM_UPDATECONSOLE, and it's send, when the Console dialog needs to be updated.

            I don't think, you should (or need to) care about these messages. All of them have pretty specific internal use and are not really meant for public use.

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

              On 02/12/2015 at 12:58, xxxxxxxx wrote:

              My next question was going to be why are you concerned about these messages.  One suspects over-reaching control but I could be mistaken.

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

                On 02/12/2015 at 13:59, xxxxxxxx wrote:

                Thank you for your replies !
                I need to do some calculations when any object of the hierarchy changes.
                I will do it in document recalculated event.

                Thnx again.

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

                  On 02/12/2015 at 14:39, xxxxxxxx wrote:

                  What scope of changes?  Most existing messages will notify of creation/deletion/transforms/modifications. Even plugin changes should invoke some message from C4D unless implemented poorly (no AddUndo() or something).  I would use what is available and worry about outliers if they materialize.

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