How to terminate a running script completely
Xiaojing
Posts: 14
In my script, I render a lot of images. It stops when I hit CANCEL on render window, but a few seconds it starts rendererring another image. How can I terminate this running script completely ? Stop Renderering.
Comments
I guess, in the absence of any information, that you are using DzRenderMgr.doRender( options ) - in which case it has a Boolean return, so have your script check that and if the value is False exit the loop and terminate.
Thank you! I exactly used DzRenderMgr.doRender( ) , and now I check the return and break the loop.