Core messages are sent around Cinema 4D to inform various parts of the application about events and changes. This is happens so different parts of the interface can update their status (e.g. Attribute Manager, Viewport, etc.).
When the active document is changed by some operation one must inform Cinema 4D about this, so Cinema 4D can update the GUI.
Valid flags are:
Core messages are sent to update the GUI so it is possible to catch core messages in custom GUI elements:
When EVMSG_CHANGE is received, GeDialog based custom panels typically re-initialize their values by calling GeDialog::InitValues().
It is also possible to catch core messages with a MessageData plugin:
A core message can contain a BaseContainer argument. This container may store these values:
These are Cinema 4D's core messages:
It is possible to send custom, asynchronous core messages. This can be used to send a message from a custom thread into the main thread.
Other functions to send core messages are: