How to terminate a running script completely

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

  • Richard HaseltineRichard Haseltine Posts: 100,888

    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.

  • XiaojingXiaojing Posts: 14

    yesThank you!  I exactly used DzRenderMgr.doRender( ) , and now I check the return and break the loop. 

Sign In or Register to comment.