On 24/06/2013 at 09:03, xxxxxxxx wrote:
I have a plugin which triggers a render preview window using:
res = documents.RenderDocument(doc, rd, renderbmp, c4d.RENDERFLAGS_EXTERNAL)
To track progress I set an timer event (1 sec) using:
timelap = 1000
And in Message I receive a trigger every second.
def Message(self, msg, result) :
if (msg.GetId() == c4d.BFM_TIMER_MESSAGE) :
doc = documents.GetActiveDocument()
print "Time: ", time.time()
So far so good.
However, during Render I do not get triggers through Message.
Is Render not done in another thread?
How to get Messages / Events, even when rendering?