Global event messages

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.

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

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.

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 :wink:

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.

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.

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.

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.