On 24/09/2016 at 12:05, xxxxxxxx wrote:
User Information:
Cinema 4D Version:
Platform: Windows ;
Language(s) : C++ ;
---------
Hi,
Is there a way that we can use Melange to check if a file is rendering?
In the C4D SDK. We can do this by overriding the Message() method like this:
Bool SimpleTag::Message(GeListNode *node, LONG type, void *data)
{
//Get the tag and assign it to a variable
BaseTag *tag = (BaseTag* )node;
//The rendering message is sent twice
//Once before the rendering starts...and again when the rendering is finished
if (type == MSG_MULTI_RENDERNOTIFICATION)
{
GePrint("Is Rendering");
}
tag->SetDirty(DIRTYFLAGS_DATA); //Used to update a Tag's AM GUI items
return TRUE;
}
Can/How do we do this in Melange?
-ScottA