SOLVED How can i render/add render queue in Python ?

Hi , i am new to C4D but familiar with Python , i discover a lot in google and forum,but find nothing about simple instant render code demo

Unlike Blender which has huge resource about code , C4D is a little difficult to find code demo,

so i wonder is there any way to start render in C4D ?

Here is my fake code demo :

#fake code demo

set_render_output("D://path")
set_render_format("PNG")
set_render_resolution(2000,1300)
add_to_render_queue()
start_render()

is there any method to achieve the fake code demo i posted?

It is very simple , but maybe i dont have good luck , i find nothing relative in internet

Thanks if you have any ideas!!

@m_adam Ok, i have try successfully in add render queue with your help , but , how can i set the output name of the batch render ??

hi,

I've moved the answer about the output path to this thread

Cheers,
Manuel