get the project change in core message

On 27/01/2014 at 13:27, xxxxxxxx wrote:

Hey i try to get the Message that the project change

the question is what is the right id

def CoreMessage(self, id, bc) :
		if id == xx: #chang projekt

On 27/01/2014 at 13:28, xxxxxxxx wrote:


try c4d.EVENT_MSG

Cheers, Seb

On 27/01/2014 at 13:50, xxxxxxxx wrote:

thx seb

class stage_message(plugins.MessageData) :
	def CoreMessage(self, id, bc) :
		if id == c4d.EVENT_MSG:

AttributeError: 'module' object has no attribute 'EVENT_MSG'

On 29/01/2014 at 12:55, xxxxxxxx wrote:

do I understand the CoreMessage wrong ?

On 29/01/2014 at 14:48, xxxxxxxx wrote:


On 29/01/2014 at 14:53, xxxxxxxx wrote:

thx niklas

the change message will call often - i need only the project change -

On 30/01/2014 at 02:21, xxxxxxxx wrote:

What do you understand under the term "project change"?

On 30/01/2014 at 03:39, xxxxxxxx wrote:

menu - window - switch between different projects

On 30/01/2014 at 03:42, xxxxxxxx wrote:

So you want to know when the user switched to another project? It sounded like you want to know when a project was changed , ie. modified.

On 30/01/2014 at 09:03, xxxxxxxx wrote:

This topic has been discussed several times in the forum. For example in this thread:
Notification on change of active document

On 31/01/2014 at 01:50, xxxxxxxx wrote:

thanks to all of you . got it