Did start PictureViewer render ?!

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 04/06/2011 at 06:14, xxxxxxxx wrote:

Hi,

I really need a way to recognize if the picuture viewer did start rendering !
Is there any way ?

Thx,
niklas

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 04/06/2011 at 08:45, xxxxxxxx wrote:

The only chance in a NodeData is to check in NodeData.Message if type==MSG_MULTI_RENDERNOTIFICATION is send.

def Message(self, node, type, data) :
        if type==c4d.MSG_MULTI_RENDERNOTIFICATION:
            if documents.GetActiveDocument()==node.GetDocument() :
                print "Editor Rendering"
            else:
                print "External Rendering"

The message will be sent to all instances of the document on start and stop of the rendering.