Core and Event Messages¶
The following core and event message identifiers are can be broadcasted or received. See Message System Manual for details on the message system of Cinema 4D.
The following messages can be broadcasted with c4d.SendCoreMessage()
.
Symbol |
Numeric Value |
Description |
---|---|---|
200000023 |
Executes the command with ID specified by |
|
300001037 |
Pass whether to open the option dialog or not for |
|
300001036 |
Pass the sub-ID for |
|
1001077 |
Forces an Attribute Manager update. |
|
300000115 |
Checks if the command with ID specified by |
|
200000035 |
Checks if the command with ID specified by |
|
200000234 |
Gets the help string of a command. Pass the command’s ID. |
|
200000033 |
Returns the name of the command with ID specified by |
|
1733248844 |
Retrieves machine features. Returned container IDs see MACHINEINFO and Viewport. |
|
200000100 |
Private |
Event messages can be broadcasted with c4d.GeSyncMessage()
and received in the CoreMessage
methods of c4d.gui.GeDialog
, c4d.gui.GeUserArea
and c4d.plugins.MessageData
.
Symbol |
Numeric Value |
Description |
---|---|---|
1633908343 |
Private |
|
1701080438 |
The user moved something in the editor window. |
|
200000009 |
The autokey mode was changed. |
|
-1002 |
Something in the browser has been changed (local event). |
|
604 |
Sent by |
|
1685218156 |
Sent while drawing after the animation, expressions and cache building have been done. |
|
-1010 |
Something in the F-Curve manager has been changed (local event). |
|
400008000 |
Something in XPresso has been changed (local event). |
|
-1008 |
Private |
|
-1009 |
A material selection has been changed (local event). |
|
-1003 |
Private |
|
1055256 |
Private |
|
-200000076 |
Show in Function Curve editor. |
|
-200000077 |
Show in Layer Manager. |
|
-200000078 |
Show in Motion editor. |
|
-200000074 |
Show in Scene Browser. |
|
-200000075 |
Show in Timeline. |
|
431000159 |
Sent by the Take System when the current Take ID changed to let all managers react to the new status. |
|
1952671847 |
Private |
|
-1001 |
A timeline selection has been changed (local event). |
|
-200000079 |
Show and frame fcurve position tracks. |
|
-200000080 |
Show and frame fcurve rotation tracks. |
|
-200000081 |
Show and frame fcurve scale tracks. |
|
-465001000 |
Private |
|
-826267 |
A tool setting has changed (local event). |
|
200000099 |
Sent in the case that the view should be redrawn. |
|
200000073 |
A special message sent by Cinema 4D in the case that only the highlighting changes. |
|
200000010 |
Scheme has been updated. |
|
-1012 |
Private |
|
-1011 |
Private |
-
c4d.
COREMSG_CINEMA_EXECUTEEDITORCOMMAND
¶ Executes the command with ID specified by
COREMSG_CINEMA_EXECUTEEDITORCOMMAND
inmsg
.
-
c4d.
COREMSG_CINEMA_EXECUTEOPTIONMODE
¶ Pass whether to open the option dialog or not for
COREMSG_CINEMA_EXECUTEEDITORCOMMAND
.
-
c4d.
COREMSG_CINEMA_EXECUTESUBID
¶ Pass the sub-ID for
COREMSG_CINEMA_EXECUTEEDITORCOMMAND
.
-
c4d.
COREMSG_CINEMA_FORCE_AM_UPDATE
¶ Forces an Attribute Manager update.
-
c4d.
COREMSG_CINEMA_GETCOMMANDCHECKED
¶ - Checks if the command with ID specified by
COREMSG_CINEMA_GETCOMMANDCHECKED
inmsg
is checked or not.The state is given asTrue
orFalse
.
-
c4d.
COREMSG_CINEMA_GETCOMMANDENABLED
¶ - Checks if the command with ID specified by
COREMSG_CINEMA_GETCOMMANDENABLED
inmsg
is enabled or disabled.The state is returned asTrue
orFalse
.
-
c4d.
COREMSG_CINEMA_GETCOMMANDHELP
¶ - Gets the help string of a command. Pass the command’s ID.The help is returned as string.
-
c4d.
COREMSG_CINEMA_GETCOMMANDNAME
¶ - Returns the name of the command with ID specified by
COREMSG_CINEMA_GETCOMMANDNAME
inmsg
.The name is returned as a string.
-
c4d.
COREMSG_CINEMA_GETMACHINEFEATURES
¶ Retrieves machine features. Returned container IDs see MACHINEINFO and Viewport.
-
c4d.
COREMSG_UPDATECOMMANDSMESSAGE
¶ Private
-
c4d.
EVMSG_ACTIVEVIEWCHANGED
¶ Private
-
c4d.
EVMSG_ASYNCEDITORMOVE
¶ - The user moved something in the editor window.Managers should update things like position fields.
-
c4d.
EVMSG_AUTKEYMODECHANGED
¶ The autokey mode was changed.
-
c4d.
EVMSG_BROWSERCHANGE
¶ Something in the browser has been changed (local event).
-
c4d.
EVMSG_CHANGE
¶ Sent by
EventAdd()
.
-
c4d.
EVMSG_DOCUMENTRECALCULATED
¶ - Sent while drawing after the animation, expressions and cache building have been done.It allows that certain managers (e.g. attribute manager) update their values to the changes done by the expressions etc. Any reactions on this message should be pretty fast! No modifying stuff must be done here as the draw thread is running at the same time and accesses the same data!
-
c4d.
EVMSG_FCURVECHANGE
¶ Something in the F-Curve manager has been changed (local event).
-
c4d.
EVMSG_GRAPHVIEWCHANGED
¶ Something in XPresso has been changed (local event).
-
c4d.
EVMSG_MATERIALPREVIEW
¶ Private
-
c4d.
EVMSG_MATERIALSELECTION
¶ A material selection has been changed (local event).
-
c4d.
EVMSG_RAYTRACER_FINISHED
¶ Private
-
c4d.
EVMSG_SETMODE
¶ Private
-
c4d.
EVMSG_SHOWIN_FC
¶ Show in Function Curve editor.
-
c4d.
EVMSG_SHOWIN_LM
¶ Show in Layer Manager.
-
c4d.
EVMSG_SHOWIN_MT
¶ Show in Motion editor.
-
c4d.
EVMSG_SHOWIN_SB
¶ Show in Scene Browser.
-
c4d.
EVMSG_SHOWIN_TL
¶ Show in Timeline.
-
c4d.
EVMSG_TAKECHANGED
¶ - Sent by the Take System when the current Take ID changed to let all managers react to the new status.
New in version R17.032.
-
c4d.
EVMSG_TIMECHANGED
¶ Private
-
c4d.
EVMSG_TIMELINESELECTION
¶ A timeline selection has been changed (local event).
-
c4d.
EVMSG_TL_FCURVE_POS
¶ Show and frame fcurve position tracks.
-
c4d.
EVMSG_TL_FCURVE_ROT
¶ Show and frame fcurve rotation tracks.
-
c4d.
EVMSG_TL_FCURVE_SCALE
¶ Show and frame fcurve scale tracks.
-
c4d.
EVMSG_TLOM_MERGE
¶ Private
-
c4d.
EVMSG_TOOLCHANGED
¶ A tool setting has changed (local event).
-
c4d.
EVMSG_UPDATEBASEDRAW
¶ Sent in the case that the view should be redrawn.
-
c4d.
EVMSG_UPDATEHIGHLIGHT
¶ - A special message sent by Cinema 4D in the case that only the highlighting changes.This happens for example when the mouse is moved over the viewport. Plugins usually do not need to care about this.
-
c4d.
EVMSG_UPDATESCHEME
¶ Scheme has been updated.
-
c4d.
EVMSG_VIEWWINDOW_3DPAINTUPD
¶ Private
-
c4d.
EVMSG_VIEWWINDOW_OUTPUT
¶ Private