THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/11/2012 at 01:29, xxxxxxxx wrote:
Hi Yannick,
thanks again. unfortunately I didnt find it in the SDK searching for render and rendering 
but now you told be
thanks
c4d.CheckIsRunning(c4d.CHECKISRUNNING_EDITORRENDERING)
not working ... but I dont need it anyway
c4d.CheckIsRunning(c4d.CHECKISRUNNING_EXTERNALRENDERING)
working for pictureviewer and netrender but not for batchrender
so to include batchrender the function looks loke this:
def is_rendering() :
if c4d.CheckIsRunning(c4d.CHECKISRUNNING_EXTERNALRENDERING) or c4d.documents.GetBatchRender().IsRendering() :
return True
else:
return False
it seems to work. great!
thank you all for the help
Jops