Start a render with script

On 13/01/2017 at 09:38, xxxxxxxx wrote:

Hi , 
I have mad a simple script to change the save path  , but to increase the functionality of the script I would like to make the script start the render in the picture viewer when clicked .
is this possible ? 
if it is possible in which part of documentation I can find about it , because the render documentation only described the render settings ....

On 13/01/2017 at 10:32, xxxxxxxx wrote:

The simplest way to start a render is using this: c4d.CallCommand(12163) #R13 Render View command

But there is also the RenderDocument() function.


On 13/01/2017 at 11:33, xxxxxxxx wrote:

thank you very much 😄
I forgot about the script log , in my case it was   :
  c4d.CallCommand(12099, 12099) # Render to Picture Viewer