THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/08/2009 at 07:39, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R11
Platform: Windows ; Mac OSX ;
Language(s) : C.O.F.F.E.E ;
---------
Hello I'm trying to do several renderings with different settings. A minimal example looks like:
> \> for (i = 0; i < 2; i++) { \> renderdata()#RDATA_PATH = new(Filename, stradd("foobar", tostring(i)) ); \> CallCommand(12099); \> } \>
The problem with this code is, that CallCommand() is non-blocking, so each new CallCommand() will interrupt the current rendering (or more precisely, prompt the user).
Is there a way to wait for the rendering to finish before calling CallCommand() again?