I am processing blender file using python script passed in -P cmd argument
I am new to blender so I am not familiar with all bpy objects/properties. Can you help me with it?
1) How can I get current rendering tile and estimated time in cycles rendering engine? I know there is render_stats handler, and I even found function BlenderSession::get_progress in sources, but I am still puzzled how can I get this info from python script.
2) How can I get list of cameras available?
3) How can I setup active camera for rendering?
4) How can I get/set number of samples when rendering?