Core and Event Messages

The following core and event message identifiers are can be broadcasted or received. See Message System for details on the message system of Cinema 4D.

The following messages can be broadcasted with c4d.SendCoreMessage().

Symbol

Numeric Value

Description

c4d.COREMSG_CINEMA_EXECUTEEDITORCOMMAND

200000023

Executes the command with ID specified by COREMSG_CINEMA_EXECUTEEDITORCOMMAND in msg.

c4d.COREMSG_CINEMA_EXECUTEOPTIONMODE

300001037

Pass whether to open the option dialog or not for COREMSG_CINEMA_EXECUTEEDITORCOMMAND.

c4d.COREMSG_CINEMA_EXECUTESUBID

300001036

Pass the sub-ID for COREMSG_CINEMA_EXECUTEEDITORCOMMAND.

c4d.COREMSG_CINEMA_FORCE_AM_UPDATE

1001077

Forces an Attribute Manager update.

c4d.COREMSG_CINEMA_GETCOMMANDCHECKED

300000115

Checks if the command with ID specified by COREMSG_CINEMA_GETCOMMANDCHECKED in msg is checked or not.

c4d.COREMSG_CINEMA_GETCOMMANDENABLED

200000035

Checks if the command with ID specified by COREMSG_CINEMA_GETCOMMANDENABLED in msg is enabled or disabled.

c4d.COREMSG_CINEMA_GETCOMMANDHELP

200000234

Gets the help string of a command. Pass the command’s ID.

c4d.COREMSG_CINEMA_GETCOMMANDNAME

200000033

Returns the name of the command with ID specified by COREMSG_CINEMA_GETCOMMANDNAME in msg.

c4d.COREMSG_CINEMA_GETMACHINEFEATURES

1733248844

Retrieves machine features. Returned container IDs see MACHINEINFO and Viewport.

c4d.COREMSG_UPDATECOMMANDSMESSAGE

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

c4d.EVMSG_ACTIVEVIEWCHANGED

1633908343

Private

c4d.EVMSG_ASYNCEDITORMOVE

1701080438

The user moved something in the editor window.

c4d.EVMSG_AUTKEYMODECHANGED

200000009

The autokey mode was changed.

c4d.EVMSG_BROWSERCHANGE

-1002

Something in the browser has been changed (local event).

c4d.EVMSG_CHANGE

604

Sent by EventAdd().

c4d.EVMSG_DOCUMENTRECALCULATED

1685218156

Sent while drawing after the animation, expressions and cache building have been done.

c4d.EVMSG_FCURVECHANGE

-1010

Something in the F-Curve manager has been changed (local event).

c4d.EVMSG_GRAPHVIEWCHANGED

400008000

Something in XPresso has been changed (local event).

c4d.EVMSG_MATERIALPREVIEW

-1008

Private

c4d.EVMSG_MATERIALSELECTION

-1009

A material selection has been changed (local event).

c4d.EVMSG_RAYTRACER_FINISHED

-1003

Private

c4d.EVMSG_SETMODE

1055256

Private

c4d.EVMSG_SHOWIN_FC

-200000076

Show in Function Curve editor.

c4d.EVMSG_SHOWIN_LM

-200000077

Show in Layer Manager.

c4d.EVMSG_SHOWIN_MT

-200000078

Show in Motion editor.

c4d.EVMSG_SHOWIN_SB

-200000074

Show in Scene Browser.

c4d.EVMSG_SHOWIN_TL

-200000075

Show in Timeline.

c4d.EVMSG_TAKECHANGED

431000159

Sent by the Take System when the current Take ID changed to let all managers react to the new status.

c4d.EVMSG_TIMECHANGED

1952671847

Private

c4d.EVMSG_TIMELINESELECTION

-1001

A timeline selection has been changed (local event).

c4d.EVMSG_TL_FCURVE_POS

-200000079

Show and frame fcurve position tracks.

c4d.EVMSG_TL_FCURVE_ROT

-200000080

Show and frame fcurve rotation tracks.

c4d.EVMSG_TL_FCURVE_SCALE

-200000081

Show and frame fcurve scale tracks.

c4d.EVMSG_TLOM_MERGE

-465001000

Private

c4d.EVMSG_TOOLCHANGED

-826267

A tool setting has changed (local event).

c4d.EVMSG_UPDATEBASEDRAW

200000099

Sent in the case that the view should be redrawn.

c4d.EVMSG_UPDATEHIGHLIGHT

200000073

A special message sent by Cinema 4D in the case that only the highlighting changes.

c4d.EVMSG_UPDATESCHEME

200000010

Scheme has been updated.

c4d.EVMSG_VIEWWINDOW_3DPAINTUPD

-1012

Private

c4d.EVMSG_VIEWWINDOW_OUTPUT

-1011

Private

c4d.COREMSG_CINEMA_EXECUTEEDITORCOMMAND

Executes the command with ID specified by COREMSG_CINEMA_EXECUTEEDITORCOMMAND in msg.

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 in msg is checked or not.

The state is given as True or False.
c4d.COREMSG_CINEMA_GETCOMMANDENABLED
Checks if the command with ID specified by COREMSG_CINEMA_GETCOMMANDENABLED in msg is enabled or disabled.

The state is returned as True or False.
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 in msg.

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